]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitfedbb3625b3c16441de1378ca00a74e9c1733289
tree3d3eaaf4bf181d4115b0c46daefa744517c262f9
parent5619d823bc0e49d05618cdf955b04055b51a7de5
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