From: Anatolij Gustschin Date: Thu, 17 Jan 2013 20:28:37 +0000 (+0100) Subject: drivers/video: fsl-diu-fb: fix pixel formats for 24 and 16 bpp X-Git-Tag: v3.9-rc1~100^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d3cc311a76073f6e0a27c0752f7e41f69e95ea7;p=pandora-kernel.git drivers/video: fsl-diu-fb: fix pixel formats for 24 and 16 bpp Framebuffer colors for 24 and 16 bpp are currently wrong. The order of the color component arguments in the MAKE_PF() is not natural and causes some confusion. The generated pixel format values for 24 and 16 bpp depths do not much the values in the comments. Fix the macro arguments to be in the natural RGB order and adjust the arguments for all depths to generate correct pixel format values (equal to the values mentioned in the comments). Signed-off-by: Anatolij Gustschin Cc: Timur Tabi Acked-by: Timur Tabi Cc: stable@vger.kernel.org --- Reading git-diff-tree failed