Skip to content

Commit

Permalink
viafb: reset correct PLL
Browse files Browse the repository at this point in the history
Looks like we did reset the PLL of the (whatever) engine instead of
the PLL of the secondary display (IGA2, LCDCK). This patch fixes it.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
  • Loading branch information
Florian Tobias Schandinat authored and Florian Tobias Schandinat committed Sep 24, 2010
1 parent b4aaa78 commit e3812ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/via/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1688,8 +1688,8 @@ void viafb_set_vclock(u32 clk, int set_iga)
}

if (set_iga == IGA2) {
viafb_write_reg_mask(SR40, VIASR, 0x01, BIT0);
viafb_write_reg_mask(SR40, VIASR, 0x00, BIT0);
viafb_write_reg_mask(SR40, VIASR, 0x04, BIT2);
viafb_write_reg_mask(SR40, VIASR, 0x00, BIT2);
}

/* Fire! */
Expand Down

0 comments on commit e3812ce

Please sign in to comment.