Google
  Web www.spinics.net

patch v4l-zr36067-fix-rgbr-pixel-format.patch added to 2.6.26-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


This is a note to let you know that we have just queued up the patch titled

    Subject: V4L: zr36067: Fix RGBR pixel format

to the 2.6.26-stable tree.  Its filename is

    v4l-zr36067-fix-rgbr-pixel-format.patch

A git repo of this tree can be found at 
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary


>From mkrufky@xxxxxxxxxxx  Thu Oct 16 15:57:24 2008
From: Jean Delvare <khali@xxxxxxxxxxxx>
Date: Fri, 10 Oct 2008 08:41:43 -0400
Subject: V4L: zr36067: Fix RGBR pixel format
To: stable@xxxxxxxxxx
Cc: Jean Delvare <khali@xxxxxxxxxxxx>, v4l-dvb maintainer list <v4l-dvb-maintainer@xxxxxxxxxxx>, Trent Piepho <xyzzy@xxxxxxxxxxxxx>, Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
Message-ID: <48EF4D87.2000701@xxxxxxxxxxx>


From: Jean Delvare <khali@xxxxxxxxxxxx>

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@xxxxxxxxxxxx>
Acked-by: Trent Piepho <xyzzy@xxxxxxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Signed-off-by: Michael Krufky <mkrufky@xxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
 drivers/media/video/zoran_driver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/media/video/zoran_driver.c
+++ b/drivers/media/video/zoran_driver.c
@@ -134,7 +134,7 @@ const struct zoran_format zoran_formats[
 	}, {
 		.name = "16-bit RGB BE",
 		ZFMT(-1,
-		     V4L2_PIX_FMT_RGB565, V4L2_COLORSPACE_SRGB),
+		     V4L2_PIX_FMT_RGB565X, V4L2_COLORSPACE_SRGB),
 		.depth = 16,
 		.flags = ZORAN_FORMAT_CAPTURE |
 			 ZORAN_FORMAT_OVERLAY,


Patches currently in stable-queue which might be from khali@xxxxxxxxxxxx are

queue-2.6.26/v4l-bttv-prevent-null-pointer-dereference-in-radio_open.patch
queue-2.6.26/v4l-zr36067-fix-rgbr-pixel-format.patch

_______________________________________________
v4l-dvb-maintainer mailing list
v4l-dvb-maintainer@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/v4l-dvb-maintainer

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [Linux USB]

-->
Add to Google Powered by Linux

Google PageRank Checking tool