ALSA: tea575x-tuner: fix mute
authorOndrej Zary <linux@rainbow-software.org>
Fri, 27 Nov 2009 17:19:28 +0000 (18:19 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 3 Dec 2009 17:23:20 +0000 (18:23 +0100)
Fix mute state reporting in tea575x-tuner.
This fixes mute function in kradio on SF64-PCR radio card.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/i2c/other/tea575x-tuner.c

index d31c373e076d543a619aa101917a3ef61689e0e8..c4c6ef73f9bf5ee32ee1f97ee62251b51d6339a1 100644 (file)
@@ -225,7 +225,7 @@ static int vidioc_s_ctrl(struct file *file, void *priv,
        case V4L2_CID_AUDIO_MUTE:
                if (tea->ops->mute) {
                        tea->ops->mute(tea, ctrl->value);
-                       tea->mute = 1;
+                       tea->mute = ctrl->value;
                        return 0;
                }
        }