diff options
author | Martin Samuelsson <sam@home.se> | 2006-03-22 01:48:38 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-23 09:24:10 -0500 |
commit | 58a0b84c92e62c2cc42036259a4b51e0bcaf8fa5 (patch) | |
tree | 0c58f0e641fc1c64702dd330d971bb9a71643dac /drivers | |
parent | daf72f408c66aee4ac939f614293a78841aa7717 (diff) |
V4L/DVB (3568d): saa7111.c fix
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/saa7111.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/saa7111.c b/drivers/media/video/saa7111.c index a2e1ccb79e49..6bd1789c8f78 100644 --- a/drivers/media/video/saa7111.c +++ b/drivers/media/video/saa7111.c | |||
@@ -212,6 +212,7 @@ saa7111_command (struct i2c_client *client, | |||
212 | switch (cmd) { | 212 | switch (cmd) { |
213 | 213 | ||
214 | case 0: | 214 | case 0: |
215 | break; | ||
215 | case DECODER_INIT: | 216 | case DECODER_INIT: |
216 | { | 217 | { |
217 | struct video_decoder_init *init = arg; | 218 | struct video_decoder_init *init = arg; |