Skip to content

Commit

Permalink
[media] dm1105: release dvbnet on frontend attachment failure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Nieder authored and Mauro Carvalho Chehab committed Jan 7, 2012
1 parent 6c59eef commit e996634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/dm1105/dm1105.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e996634

Please sign in to comment.