[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 коммит произвёл Mauro Carvalho Chehab
Родитель 6c59eefd58
Коммит e99663417f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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