diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-02-17 21:11:06 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-02-21 03:50:27 -0500 |
commit | 70a27df1579b0e8d7d478d034980f8a7f8a20d54 (patch) | |
tree | 052cbf64285a381ec08cf3d645dd289b5ef512e0 /drivers | |
parent | 78145b7a343fe2950478e649e905f557054df884 (diff) |
viafb: Fix bug in centering code
Obviously this is a typo and although there were no effects observed
it's probably better to fix it.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/via/hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index d35ced701396..4d799c89941b 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c | |||
@@ -1477,7 +1477,7 @@ static struct display_timing var_to_timing(const struct fb_var_screeninfo *var, | |||
1477 | timing.hor_sync_end = timing.hor_sync_start + var->hsync_len; | 1477 | timing.hor_sync_end = timing.hor_sync_start + var->hsync_len; |
1478 | timing.hor_total = timing.hor_sync_end + var->left_margin + dx; | 1478 | timing.hor_total = timing.hor_sync_end + var->left_margin + dx; |
1479 | timing.hor_blank_start = timing.hor_addr + dx; | 1479 | timing.hor_blank_start = timing.hor_addr + dx; |
1480 | timing.hor_blank_end = timing.hor_total - dy; | 1480 | timing.hor_blank_end = timing.hor_total - dx; |
1481 | timing.ver_addr = cyres; | 1481 | timing.ver_addr = cyres; |
1482 | timing.ver_sync_start = timing.ver_addr + var->lower_margin + dy; | 1482 | timing.ver_sync_start = timing.ver_addr + var->lower_margin + dy; |
1483 | timing.ver_sync_end = timing.ver_sync_start + var->vsync_len; | 1483 | timing.ver_sync_end = timing.ver_sync_start + var->vsync_len; |