From: Janne Grunau Date: Tue, 27 Jul 2010 14:01:47 +0000 (-0300) Subject: [media] hdpvr: fix audio input setting for pre AC3 firmwares X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=fe023ad15e4a9147c208e4c4cac98d7fd40ab0bd;p=linux-edison.git [media] hdpvr: fix audio input setting for pre AC3 firmwares Signed-off-by: Janne Grunau Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/hdpvr/hdpvr-control.c b/drivers/media/video/hdpvr/hdpvr-control.c index b5cd2b50f74..068df4ba3f5 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; }