diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-16 09:46:36 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-21 13:19:26 -0400 |
commit | 486d4c08dd2eb29b26b4a27f8056155a7a639861 (patch) | |
tree | a28f3435c2d3557db2db4cb23e404ac4487e52d6 /drivers | |
parent | 0f8132b7431e241c29e61ac14f22549a6fca9632 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/via/hw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index a982718f3998..c4d2136ae338 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c | |||
@@ -2401,9 +2401,6 @@ int viafb_setmode(struct VideoModeTable *vmode_tbl, int video_bpp, | |||
2401 | 2401 | ||
2402 | viafb_write_reg_mask(0x15, VIASR, 0xA2, 0xA2); | 2402 | viafb_write_reg_mask(0x15, VIASR, 0xA2, 0xA2); |
2403 | 2403 | ||
2404 | /* Write CRTC */ | ||
2405 | viafb_fill_crtc_timing(crt_timing, vmode_tbl, video_bpp / 8, IGA1); | ||
2406 | |||
2407 | /* Write Graphic Controller */ | 2404 | /* Write Graphic Controller */ |
2408 | for (i = 0; i < StdGR; i++) | 2405 | for (i = 0; i < StdGR; i++) |
2409 | via_write_reg(VIAGR, i, VPIT.GR[i]); | 2406 | via_write_reg(VIAGR, i, VPIT.GR[i]); |