1
0
Fork 0

[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>
hifive-unleashed-5.1
Janne Grunau 2010-07-27 11:01:47 -03:00 committed by Mauro Carvalho Chehab
parent d4533332c0
commit fe023ad15e
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}