summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-18 02:49:59 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 19:09:42 +0200
commite9888a1330402050e596b2553e7009fe371c42be (patch)
tree165e1f09453e871a4f99db036d26e050bb878127 /drivers/media/video/em28xx
parentV4L/DVB (7616): em28xx-dvb: Properly selects digital mode at the right place (diff)
downloadlinux-e9888a1330402050e596b2553e7009fe371c42be.tar.xz
linux-e9888a1330402050e596b2553e7009fe371c42be.zip
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)
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;