Instead of applying the current mute setting on last device node close, always
mute the device.

Signed-off-by: Frank Schäfer <[email protected]>
---
 drivers/media/pci/bt8xx/bttv-driver.c |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

diff --git a/drivers/media/pci/bt8xx/bttv-driver.c 
b/drivers/media/pci/bt8xx/bttv-driver.c
index 2fb2168..469ea06 100644
--- a/drivers/media/pci/bt8xx/bttv-driver.c
+++ b/drivers/media/pci/bt8xx/bttv-driver.c
@@ -3126,7 +3126,7 @@ static int bttv_release(struct file *file)
        bttv_field_count(btv);
 
        if (!btv->users)
-               audio_mute(btv, btv->mute);
+               audio_mute(btv, 1);
 
        v4l2_fh_del(&fh->fh);
        v4l2_fh_exit(&fh->fh);
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to