From: Mauro Carvalho Chehab Date: Fri, 18 Apr 2008 00:49:59 +0000 (-0300) Subject: V4L/DVB (7617): Removes a manual mode setup X-Git-Tag: v2.6.26-rc1~1084^2~106 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9888a1330402050e596b2553e7009fe371c42be;p=linux-2.6 V4L/DVB (7617): Removes a manual mode setup The setup is already done at open(). Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index 4ffd064c40..8996175cc9 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) 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;