Browse Source

[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>
Janne Grunau 15 years ago
parent
commit
fe023ad15e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/media/video/hdpvr/hdpvr-control.c

+ 1 - 2
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;
 }