diff options
author | Devin Heitmueller <dheitmueller@hauppauge.com> | 2010-07-12 15:42:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 01:17:25 -0200 |
commit | 66d7c4318a5933099b3c57a8551b32f9f35eb741 (patch) | |
tree | 80e6baf86a6100f59a73a6f97293ec8296ad6ab7 /drivers/media | |
parent | b88ba6193d5f2469b2b29b52e8cca78a4caa47e0 (diff) | |
download | op-kernel-dev-66d7c4318a5933099b3c57a8551b32f9f35eb741.zip op-kernel-dev-66d7c4318a5933099b3c57a8551b32f9f35eb741.tar.gz |
[media] cx231xx: Remove hack which puts device into bulk mode
Remove a hack which was jammed into s_input to force the device into bulk mode
at runtime (an abuse of the API). If this sort of functionality is actually
needed (aside from the existing "transfer_mode" modprobe variable), a patch
can be submitted which makes use of a private control.
Signed-off-by: Devin Heitmueller <dheitmueller@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-video.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c index 06f492e7..31097e4 100644 --- a/drivers/media/video/cx231xx/cx231xx-video.c +++ b/drivers/media/video/cx231xx/cx231xx-video.c @@ -1232,18 +1232,6 @@ static int vidioc_s_input(struct file *file, void *priv, unsigned int i) struct cx231xx *dev = fh->dev; int rc; - if (i == 10) { - dev->USE_ISO = 0; - cx231xx_info("trans-mode=BULK. USE_ISO = %d\n", dev->USE_ISO); - return 0; - } - - if (i == 11) { - dev->USE_ISO = 1; - cx231xx_info("trans-mode=ISOC. USE_ISO = %d\n", dev->USE_ISO); - return 0; - } - dev->mode_tv = 0; rc = check_dev(dev); if (rc < 0) |