Commit 1233faa8 authored by Ondrej Zary's avatar Ondrej Zary Committed by Takashi Iwai

ALSA: tea575x-tuner: fix mute

Fix mute state reporting in tea575x-tuner.
This fixes mute function in kradio on SF64-PCR radio card.
Signed-off-by: default avatarOndrej Zary <linux@rainbow-software.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d8ea2393
...@@ -225,7 +225,7 @@ static int vidioc_s_ctrl(struct file *file, void *priv, ...@@ -225,7 +225,7 @@ static int vidioc_s_ctrl(struct file *file, void *priv,
case V4L2_CID_AUDIO_MUTE: case V4L2_CID_AUDIO_MUTE:
if (tea->ops->mute) { if (tea->ops->mute) {
tea->ops->mute(tea, ctrl->value); tea->ops->mute(tea, ctrl->value);
tea->mute = 1; tea->mute = ctrl->value;
return 0; return 0;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment