upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:44 +0000 (11:59 +0900)
commit4c056085ae0a5e2d0a1883773112595a3cfa879c
tree48fb8367a168acf2d5b95d8ec15d521e90980ac3
parente31c55ac802508e5ae57d2f6b86905512ce81d69
upstream: [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.

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=4647f487083d
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-core/dvb_frontend.c
drivers/media/dvb-core/dvbdev.h