viafb: no need to write CRTC values twice

Later the correct values will be written so there is no need to
write early some values which might be wrong.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
Florian Tobias Schandinat 2011-03-16 13:46:36 +00:00
parent 0f8132b743
commit 486d4c08dd
1 changed files with 0 additions and 3 deletions

View File

@ -2401,9 +2401,6 @@ int viafb_setmode(struct VideoModeTable *vmode_tbl, int video_bpp,
viafb_write_reg_mask(0x15, VIASR, 0xA2, 0xA2); viafb_write_reg_mask(0x15, VIASR, 0xA2, 0xA2);
/* Write CRTC */
viafb_fill_crtc_timing(crt_timing, vmode_tbl, video_bpp / 8, IGA1);
/* Write Graphic Controller */ /* Write Graphic Controller */
for (i = 0; i < StdGR; i++) for (i = 0; i < StdGR; i++)
via_write_reg(VIAGR, i, VPIT.GR[i]); via_write_reg(VIAGR, i, VPIT.GR[i]);