[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: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Jonathan Nieder 2012-01-06 14:40:26 -03:00 committed by Mauro Carvalho Chehab
parent 6c59eefd58
commit e99663417f

View File

@ -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);