Skip to content

Commit

Permalink
[PATCH] sstfb: fix pixclock setting on Voodoo 1/2 cards
Browse files Browse the repository at this point in the history
Pixclock setting in sstfb didn't work with my Voodoo 2 card with ICS 5342 DAC
(this DAC requires two consecutive writes to one of its registers to program
pixclock - maybe first write merged with second).

Signed-off-by: Ondrej Zajicek <santiago@crfreenet.org>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Ondrej Zajicek authored and Linus Torvalds committed Mar 17, 2007
1 parent 28735a7 commit e52e15d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/sstfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e52e15d

Please sign in to comment.