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

Commit e9966341 authored by Jonathan Nieder's avatar Jonathan Nieder Committed by Mauro Carvalho Chehab
Browse files

[media] dm1105: release dvbnet on frontend attachment failure



The patch "dm1105: handle errors from dvb_net_init" moved the
initialization of dvbnet to before frontend attachment but forgot
to adjust the error handling when frontend attachment fails.

Signed-off-by: default avatarJonathan Nieder <jrnieder@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6c59eefd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1121,7 +1121,7 @@ static int __devinit dm1105_probe(struct pci_dev *pdev,

	ret = frontend_init(dev);
	if (ret < 0)
		goto err_disconnect_frontend;
		goto err_dvb_net;

	dm1105_ir_init(dev);