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>
Thu, 7 Aug 2014 05:32:06 +0000 (14:32 +0900)
commit2ea14cc387662738729c27439b757dbafcbc01db
tree18970d4c5e1d1158651209fa9e3691e51f420299
parent11a71ed7e9dabce3dd597a628147dbaf54825cee
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