summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2010-07-27 11:01:47 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 07:56:05 -0200
commitfe023ad15e4a9147c208e4c4cac98d7fd40ab0bd (patch)
treefcfa522099da9dae3698e1d2ec1813edd9f472ba /drivers
parentd4533332c0c60335f117ffc65cc4a067314bb441 (diff)
downloadlinux-stable-fe023ad15e4a9147c208e4c4cac98d7fd40ab0bd.tar.gz
linux-stable-fe023ad15e4a9147c208e4c4cac98d7fd40ab0bd.tar.bz2
linux-stable-fe023ad15e4a9147c208e4c4cac98d7fd40ab0bd.zip
[media] hdpvr: fix audio input setting for pre AC3 firmwares
Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/hdpvr/hdpvr-control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr-control.c b/drivers/media/video/hdpvr/hdpvr-control.c
index b5cd2b50f748..068df4ba3f51 100644
--- a/drivers/media/video/hdpvr/hdpvr-control.c
+++ b/drivers/media/video/hdpvr/hdpvr-control.c
@@ -168,8 +168,7 @@ int hdpvr_set_audio(struct hdpvr_device *dev, u8 input,
if (ret == 2)
ret = 0;
} else
- ret = hdpvr_config_call(dev, CTRL_AUDIO_INPUT_VALUE,
- dev->options.audio_input+1);
+ ret = hdpvr_config_call(dev, CTRL_AUDIO_INPUT_VALUE, input);
error:
return ret;
}