]> git.baikalelectronics.ru Git - kernel.git/commit
viafb: some virtual_xres handling fixes
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 10 Mar 2010 23:21:39 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:34 +0000 (15:52 -0800)
commite7baf269cef952ba33fd6c1bd2c10f490300dd15
tree4e6bbb4859ff6831310eef83ab8458040c015df3
parent34c9c9102559cc9d74f4d5ed12d3a37766390c7c
viafb: some virtual_xres handling fixes

Do not require the virtual_xres to be aligned as line length is for such
purposes.  Calculate always the smallest line length required.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/via/viafbdev.c