V4L/DVB (7805): saa7134: dvb_unregister_frontend() shouldn't be called, if not regist...
authorMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 30 Apr 2008 21:13:05 +0000 (18:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 05:53:58 +0000 (02:53 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-dvb.c

index 2a9aa726e984b1247dfd9478325b5daa2c471b28..469f93aac0083a1e049cb55bc27ed985ca31596d 100644 (file)
@@ -1339,7 +1339,6 @@ static int dvb_init(struct saa7134_dev *dev)
 
 dettach_frontend:
        dvb_frontend_detach(dev->dvb.frontend);
-       dvb_unregister_frontend(dev->dvb.frontend);
        dev->dvb.frontend = NULL;
 
        return -1;