diff options
author | Arnd Hannemann <arnd@arndnet.de> | 2010-11-15 21:43:22 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-16 10:11:28 +0900 |
commit | cc267ec5dfa29eba34cbf4eae3e5db9ca499c179 (patch) | |
tree | d1a1d683920f24ee8d2e53285b1ad1ef9d4ef377 /include/video | |
parent | 6800e4c0ea3e96cf78953b8b5743381cb1bb9e37 (diff) |
fbdev: sh_mobile_lcdcfb: fix bug in reconfig()
The function sh_mobile_fb_reconfig() contained a bug,
which caused the line_length to be set wrongly, if a mode
with a different X-resolution than the default one was chosen.
This caused 1080p24 mode to not work on AP4EVB.
Additionally the notifier chain was also called with the wrong
mode.
This patch fixes this, by using the X-resolution of the new
mode instead of the old one to calculate line length and
hands over the correct mode to the notifier chain.
Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions