[alsa-devel] tea575x-tuner: fix mute
Ondrej Zary
linux at rainbow-software.org
Thu Nov 26 21:41:15 CET 2009
Fix mute state reporting in tea575x-tuner.
This fixes mute function in kradio on SF64-PCR radio card.
Signed-off-by: Ondrej Zary <linux at rainbow-software.org>
--- linux-source-2.6.31-orig/sound/i2c/other/tea575x-tuner.c 2009-09-10 00:13:59.000000000 +0200
+++ linux-source-2.6.31/sound/i2c/other/tea575x-tuner.c 2009-11-26 21:30:28.000000000 +0100
@@ -225,7 +225,7 @@ static int vidioc_s_ctrl(struct file *fi
case V4L2_CID_AUDIO_MUTE:
if (tea->ops->mute) {
tea->ops->mute(tea, ctrl->value);
- tea->mute = 1;
+ tea->mute = ctrl->value;
return 0;
}
}
--
Ondrej Zary
More information about the Alsa-devel
mailing list