aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-17 20:49:59 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:42 -0400
commite9888a1330402050e596b2553e7009fe371c42be (patch)
tree165e1f09453e871a4f99db036d26e050bb878127 /drivers/media/video/em28xx
parente3569abc1c51d24f9c64b214f85477e490b156e3 (diff)
V4L/DVB (7617): Removes a manual mode setup
The setup is already done at open(). Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 4ffd064c402a..8996175cc950 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -391,8 +391,6 @@ buffer_setup(struct videobuf_queue *vq, unsigned int *count, unsigned int *size)
391 if (*count < EM28XX_MIN_BUF) 391 if (*count < EM28XX_MIN_BUF)
392 *count = EM28XX_MIN_BUF; 392 *count = EM28XX_MIN_BUF;
393 393
394 dev->mode = EM28XX_ANALOG_MODE;
395
396 /* Ask tuner to go to analog mode */ 394 /* Ask tuner to go to analog mode */
397 memset(&f, 0, sizeof(f)); 395 memset(&f, 0, sizeof(f));
398 f.frequency = dev->ctl_freq; 396 f.frequency = dev->ctl_freq;