diff mbox

s2255drv: V4L2_MODE_HIGHQUALITY fix

Message ID tkrat.001f6db5e6ea287d@sensoray.com (mailing list archive)
State Rejected
Headers show

Commit Message

sensoray-dev April 15, 2010, 10:51 p.m. UTC
None
diff mbox

Patch

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__,