diff options
author | Janne Grunau <j@jannau.net> | 2010-07-27 10:01:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 05:56:05 -0400 |
commit | fe023ad15e4a9147c208e4c4cac98d7fd40ab0bd (patch) | |
tree | fcfa522099da9dae3698e1d2ec1813edd9f472ba /drivers/media | |
parent | d4533332c0c60335f117ffc65cc4a067314bb441 (diff) |
[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/media')
-rw-r--r-- | drivers/media/video/hdpvr/hdpvr-control.c | 3 |
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, | |||
168 | if (ret == 2) | 168 | if (ret == 2) |
169 | ret = 0; | 169 | ret = 0; |
170 | } else | 170 | } else |
171 | ret = hdpvr_config_call(dev, CTRL_AUDIO_INPUT_VALUE, | 171 | ret = hdpvr_config_call(dev, CTRL_AUDIO_INPUT_VALUE, input); |
172 | dev->options.audio_input+1); | ||
173 | error: | 172 | error: |
174 | return ret; | 173 | return ret; |
175 | } | 174 | } |