Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da9f07f2 authored by Frank Schaefer's avatar Frank Schaefer Committed by Mauro Carvalho Chehab
Browse files

[media] bttv: do not unmute the device before the first open

parent b1a30157
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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,