diff options
author | Janne Grunau <j@jannau.net> | 2010-07-27 16:01:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 11:56:05 +0200 |
commit | fe023ad15e4a9147c208e4c4cac98d7fd40ab0bd (patch) | |
tree | fcfa522099da9dae3698e1d2ec1813edd9f472ba | |
parent | [media] hdpvr: use AC3 as default audio codec for SPDIF (diff) | |
download | linux-fe023ad15e4a9147c208e4c4cac98d7fd40ab0bd.tar.xz linux-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>
-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, 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; } |