Re: [RFC PATCH 1/3] dvbdev: add a dvb_dettach() macro

2014-03-15 Thread Mauro Carvalho Chehab
Em Sat, 15 Mar 2014 14:47:20 +0100 Hans Verkuil escreveu: > Hi Mauro, > > On 03/15/2014 02:43 PM, Mauro Carvalho Chehab wrote: > > 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 wher

Re: [RFC PATCH 1/3] dvbdev: add a dvb_dettach() macro

2014-03-15 Thread Hans Verkuil
Hi Mauro, On 03/15/2014 02:43 PM, Mauro Carvalho Chehab wrote: > 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

[RFC PATCH 1/3] dvbdev: add a dvb_dettach() macro

2014-03-15 Thread Mauro Carvalho Chehab
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_dettach() and use it at dvb_frontend.c. Signed-off-by: Mauro Carvalh