summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-17 18:49:59 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-17 18:49:59 -0300
commitf3cf860394a25d449815307dd66d7a30cba236e0 (patch)
tree02363f06afd951274611be30c0e4e19f847f2a9c
parent0b6b95207782b70cfdcc315edbffdf3792b6a497 (diff)
downloadmediapointer-dvb-s2-f3cf860394a25d449815307dd66d7a30cba236e0.tar.gz
mediapointer-dvb-s2-f3cf860394a25d449815307dd66d7a30cba236e0.tar.bz2
Removes a manual mode setup
From: Mauro Carvalho Chehab <mchehab@infradead.org> The setup is already done at open(). Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-video.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c
index e0609ba63..093fef4bb 100644
--- a/linux/drivers/media/video/em28xx/em28xx-video.c
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c
@@ -415,8 +415,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;