Skip to contentSkip to conversation

tea575x-tuner: fix mute

PATCH RESEND In review Ondrej Zary 2 participants 2 messages Nov 27, 2009 – Dec 3, 2009 Sound

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 tea575x-tuner: fix mute

Fix mute state reporting in tea575x-tuner.
This fixes mute function in kradio on SF64-PCR radio card.

sound/i2c/other/tea575x-tuner.c +1 -1
@@ -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;
 		}
 	}
Signature · 1 line
Ondrej Zary
#1 lore raw

At Fri, 27 Nov 2009 18:19:28 +0100,

Quoted 5 lines · Ondrej Zary

Fix mute state reporting in tea575x-tuner.
This fixes mute function in kradio on SF64-PCR radio card.

Applied now. Thanks!

Takashi

Quoted 20 lines
sound/i2c/other/tea575x-tuner.c +1 -1
@@ -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;
 		}
 	}
Signature · 6 lines
-- 
Ondrej Zary
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel