提交 6430a5a3 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (7806): em28xx: dvb_unregister_frontend() shouldn't be called, if not registered yet

Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 f50090fc
......@@ -251,7 +251,6 @@ static int attach_xc3028(u8 addr, struct em28xx *dev)
printk(KERN_ERR "%s/2: xc3028 attach failed\n",
dev->name);
dvb_frontend_detach(dev->dvb->frontend);
dvb_unregister_frontend(dev->dvb->frontend);
dev->dvb->frontend = NULL;
return -EINVAL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册