[RFC,v2,6/6] bttv: radio: apply mute settings on open
Commit Message
In contrast to the video device node, radio_open() doesn't select an input
(which would also applies the mute setting).
Hence the device needs to be muted/unmuted with an explicit call to audio_mux()
in this function.
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
---
drivers/media/pci/bt8xx/bttv-driver.c | 2 ++
1 Datei geändert, 2 Zeilen hinzugefügt(+)
@@ -3232,6 +3232,8 @@ static int radio_open(struct file *file)
v4l2_fh_add(&fh->fh);
+ audio_mute(btv, btv->mute);
+
return 0;
}