]> git.hungrycats.org Git - linux/commit
V4L: zr36067: Fix RGBR pixel format
authorJean Delvare <khali@linux-fr.org>
Fri, 10 Oct 2008 12:41:33 +0000 (08:41 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 21:05:16 +0000 (14:05 -0700)
commit79f095640dd266b97d53e6f8d06208beb7b346fa
treef3186cce4ddef01a6649d3e16ffb40e7075f6cdf
parent1a0afec2db3741b13bd39543822a0c110b50b133
V4L: zr36067: Fix RGBR pixel format

(cherry picked from commit a30ee3c747728f9151664118ffcbdeefd202c332)

The zr36067 driver is improperly declaring pixel format RGBP twice,
once as "16-bit RGB LE" and once as "16-bit RGB BE". The latter is
actually RGBR. Fix the code to properly map both pixel formats.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/zoran_driver.c