From: Frank Schaefer Date: Thu, 21 Mar 2013 16:51:19 +0000 (-0300) Subject: [media] bttv: do not unmute the device before the first open X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da9f07f2d4dae676992b7f5d3e1377beea0d7644;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [media] bttv: do not unmute the device before the first open Signed-off-by: Frank Schäfer Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index 0df4a167585d..55eab61bed63 100644 --- a/drivers/media/pci/bt8xx/bttv-driver.c +++ b/drivers/media/pci/bt8xx/bttv-driver.c @@ -4212,11 +4212,13 @@ static int bttv_probe(struct pci_dev *dev, const struct pci_device_id *pci_id) btv->std = V4L2_STD_PAL; init_irqreg(btv); v4l2_ctrl_handler_setup(hdl); - if (hdl->error) { result = hdl->error; goto fail2; } + /* mute device */ + audio_mute(btv, 1); + /* register video4linux + input */ if (!bttv_tvcards[btv->c.type].no_video) { v4l2_ctrl_add_handler(&btv->radio_ctrl_handler, hdl,