]> git.baikalelectronics.ru Git - kernel.git/commit
sm501fb: RGB offsets are reversed in 16bpp modes
authorVille Syrjala <syrjala@sci.fi>
Tue, 4 Mar 2008 22:28:47 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:13 +0000 (16:35 -0800)
commit112fb4ccbe536d8e80c8c7fe5c5a71033a46b833
tree3d3eaaf4bf181d4115b0c46daefa744517c262f9
parentd412f60e45e7b12b91ebdf1d58479d8722b15da8
sm501fb: RGB offsets are reversed in 16bpp modes

The RGB offsets were reversed in 16bpp modes.  Simply trying to reverse the
offsets when endianness differs is clearly the wrong thing to do but that is
an issue for another patch.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sm501fb.c