提交 e9966341 编写于 作者: J Jonathan Nieder 提交者: Mauro Carvalho Chehab

[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: NJonathan Nieder <jrnieder@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 6c59eefd
...@@ -1121,7 +1121,7 @@ static int __devinit dm1105_probe(struct pci_dev *pdev, ...@@ -1121,7 +1121,7 @@ static int __devinit dm1105_probe(struct pci_dev *pdev,
ret = frontend_init(dev); ret = frontend_init(dev);
if (ret < 0) if (ret < 0)
goto err_disconnect_frontend; goto err_dvb_net;
dm1105_ir_init(dev); dm1105_ir_init(dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册