]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] hdpvr: fix audio input setting for pre AC3 firmwares
authorJanne Grunau <j@jannau.net>
Tue, 27 Jul 2010 14:01:47 +0000 (11:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:56:05 +0000 (07:56 -0200)
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/hdpvr/hdpvr-control.c

index b5cd2b50f748205a10d72ca1622e33e86099288a..068df4ba3f516e12f34b5d5882b14b6ceb13907e 100644 (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;
 }