]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dvbdev: add a dvb_detach() macro
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 29 May 2014 12:20:13 +0000 (09:20 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 17 Jun 2014 15:04:47 +0000 (12:04 -0300)
commite0698714ba68714ee72b355f2a2d8cdfd344907c
tree1ee5bb6b0cf671a96a12e48cf86d9be99102ca02
parente8b43c818c6b86cdf1540b2fb0f5647b1ea57860
[media] dvbdev: add a dvb_detach() macro

The dvb_attach() was unbalanced, as there was no dvb_dettach. Ok,
on current cases, the dettach is done by dvbdev, but that are some
future corner cases where we may need to do this before registering
the frontend.

So, add a dvb_detach() and use it at dvb_frontend.c.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-core/dvb_frontend.c
drivers/media/dvb-core/dvbdev.h