Skip to content

Commit

Permalink
V4L/DVB (7806): em28xx: dvb_unregister_frontend() shouldn't be called…
Browse files Browse the repository at this point in the history
…, if not registered yet

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mauro Carvalho Chehab committed May 14, 2008
1 parent f50090f commit 6430a5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/video/em28xx/em28xx-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6430a5a

Please sign in to comment.