Skip to content

Commit

Permalink
V4L/DVB (3568d): saa7111.c fix
Browse files Browse the repository at this point in the history
When grabbing composite video with Iomega Buz, the stock driver will
prevent grabbing from the same input twice in a row, forcing the user to
switch inputs before anything useful can be grabbed again.  It is caused by
some optimization code in the input selection parts, and triggered by the
saa7111_command() executing cmd 0.  The attached patch will remedy this by
disabling cmd 0 altogether; a fix that has no found negative effects on the
rest of the code.  In fact, saa7110.c does the exact same thing.

Acked-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Martin Samuelsson authored and Mauro Carvalho Chehab committed Mar 23, 2006
1 parent daf72f4 commit 58a0b84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/video/saa7111.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ saa7111_command (struct i2c_client *client,
switch (cmd) {

case 0:
break;
case DECODER_INIT:
{
struct video_decoder_init *init = arg;
Expand Down

0 comments on commit 58a0b84

Please sign in to comment.