Skip to contentSkip to conversation

tea575x-tuner: fix mute

PATCH Ondrej Zary 1 participant 1 message Nov 26, 2009 Sound

lore
Share & tools
lore
#0 lore raw

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