s2255drv: V4L2_MODE_HIGHQUALITY fix

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

 



# HG changeset patch
# User Dean Anderson <linux-dev@xxxxxxxxxxxx>
# Date 1271371685 25200
# Node ID fae20d178e2cc96d75a43c50e0f84140022091a3
# Parent  f12b3074bb02dbb9b9d5af3aa816bd53e6b61dd1
s2255drv: V4L2 mode high quality fix

From: Dean Anderson <linux-dev@xxxxxxxxxxxx>

fix for last patch in case it is applied. submitted incorrect patch (channel/stream).

Priority: high

Signed-off-by: Dean Anderson <linux-dev@xxxxxxxxxxxx>

diff -r f12b3074bb02 -r fae20d178e2c linux/drivers/media/video/s2255drv.c
--- a/linux/drivers/media/video/s2255drv.c	Thu Apr 15 15:40:56 2010 -0700
+++ b/linux/drivers/media/video/s2255drv.c	Thu Apr 15 15:48:05 2010 -0700
@@ -1660,7 +1660,7 @@
 	}
 	mode.fdec = fdec;
 	sp->parm.capture.timeperframe.denominator = def_dem;
-	stream->cap_parm = sp->parm.capture;
+	channel->cap_parm = sp->parm.capture;
 	s2255_set_mode(channel, &mode);
 	dprintk(4, "%s capture mode, %d timeperframe %d/%d, fdec %d\n",
 		__func__,

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux