]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/sstfb.c
Pull ec into release branch
[linux-2.6-omap-h63xx.git] / drivers / video / sstfb.c
index 59cd1e750f30dc595f96271277587ae151eab31c..5eff28ce4f4dcfc967583cc2afec2d36ff7eaba6 100644 (file)
@@ -257,6 +257,7 @@ static void __sst_dac_write(u8 __iomem *vbase, u8 reg, u8 val)
        r_dprintk("sst_dac_write(%#x, %#x)\n", reg, val);
        reg &= 0x07;
        __sst_write(vbase, DAC_DATA,(((u32)reg << 8)) | (u32)val);
+       __sst_wait_idle(vbase);
 }
 
 /* indexed access to ti/att dacs */
@@ -1347,7 +1348,7 @@ static int __devinit sstfb_probe(struct pci_dev *pdev,
        f_ddprintk("found device : %s\n", spec->name);
 
        par->dev = pdev;
-       pci_read_config_byte(pdev, PCI_REVISION_ID, &par->revision);
+       par->revision = pdev->revision;
 
        fix->mmio_start = pci_resource_start(pdev,0);
        fix->mmio_len   = 0x400000;