* [resend] tea575x-tuner: fix mute
@ 2009-11-27 17:19 Ondrej Zary
2009-12-03 17:32 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Zary @ 2009-11-27 17:19 UTC (permalink / raw)
To: alsa-devel
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>
--- 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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [resend] tea575x-tuner: fix mute
2009-11-27 17:19 [resend] tea575x-tuner: fix mute Ondrej Zary
@ 2009-12-03 17:32 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2009-12-03 17:32 UTC (permalink / raw)
To: Ondrej Zary; +Cc: alsa-devel
At Fri, 27 Nov 2009 18:19:28 +0100,
Ondrej Zary wrote:
>
> 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>
Applied now. Thanks!
Takashi
>
> --- 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
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-03 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27 17:19 [resend] tea575x-tuner: fix mute Ondrej Zary
2009-12-03 17:32 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.