Skip to contentSkip to conversation

s2255drv: V4L2_MODE_HIGHQUALITY fix

PATCH sensoray-dev 2 participants 2 messages Apr 15, 2010 – May 3, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

# HG changeset patch
# User Dean Anderson <[email protected]> # Date 1271371685 25200
# Node ID fae20d178e2cc96d75a43c50e0f84140022091a3 # Parent f12b3074bb02dbb9b9d5af3aa816bd53e6b61dd1
s2255drv: V4L2 mode high quality fix

From: Dean Anderson <[email protected]>

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

Priority: high

linux/drivers/media/video/s2255drv.c +1 -1
diff -r f12b3074bb02 -r fae20d178e2c linux/drivers/media/video/s2255drv.c
@@ -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__,
#1 lore raw
Quoted 7 lines · sensoray-dev

# HG changeset patch
# User Dean Anderson <[email protected]> # Date 1271371685 25200
# Node ID fae20d178e2cc96d75a43c50e0f84140022091a3 # Parent f12b3074bb02dbb9b9d5af3aa816bd53e6b61dd1
s2255drv: V4L2 mode high quality fix

Quoted 5 lines

From: Dean Anderson <[email protected]>

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

Priority: high

Sorry, but it doesn't apply.

Quoted 20 lines

diff -r f12b3074bb02 -r fae20d178e2c linux/drivers/media/video/s2255drv.c

linux/drivers/media/video/s2255drv.c +1 -2
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Cheers,
Mauro