V4L/DVB (7617): Removes a manual mode setup
authorMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 18 Apr 2008 00:49:59 +0000 (21:49 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:42 +0000 (14:09 -0300)
The setup is already done at open().

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/em28xx/em28xx-video.c

index 4ffd064c402ae0acef043b352d1f18222ad2e0a8..8996175cc95075bca9c42c89501a2adc51bd12fc 100644 (file)
@@ -391,8 +391,6 @@ buffer_setup(struct videobuf_queue *vq, unsigned int *count, unsigned int *size)
        if (*count < EM28XX_MIN_BUF)
                *count = EM28XX_MIN_BUF;
 
-       dev->mode = EM28XX_ANALOG_MODE;
-
        /* Ask tuner to go to analog mode */
        memset(&f, 0, sizeof(f));
        f.frequency = dev->ctl_freq;