Re: [PATCH] media: em28xx-dvb unregister i2c tuner and demod after fe detach

2014-07-15 Thread Shuah Khan
On 07/12/2014 02:14 PM, Antti Palosaari wrote: Moikka Shuah! I suspect that patch makes no sense. On DVB there is runtime PM controlled by DVB frontend. It wakes up all FE sub-devices when frontend device is opened and sleeps when closed. FE release() is not relevant at all for those

Re: [PATCH] media: em28xx-dvb unregister i2c tuner and demod after fe detach

2014-07-15 Thread Antti Palosaari
Moikka! On 07/15/2014 08:29 PM, Shuah Khan wrote: On 07/12/2014 02:14 PM, Antti Palosaari wrote: Moikka Shuah! I suspect that patch makes no sense. On DVB there is runtime PM controlled by DVB frontend. It wakes up all FE sub-devices when frontend device is opened and sleeps when closed. FE

Re: [PATCH] media: em28xx-dvb unregister i2c tuner and demod after fe detach

2014-07-12 Thread Antti Palosaari
Moikka Shuah! I suspect that patch makes no sense. On DVB there is runtime PM controlled by DVB frontend. It wakes up all FE sub-devices when frontend device is opened and sleeps when closed. FE release() is not relevant at all for those sub-devices which are implemented as a proper I2C

[PATCH] media: em28xx-dvb unregister i2c tuner and demod after fe detach

2014-07-11 Thread Shuah Khan
i2c tuner and demod are unregisetred in .fini before fe detach. dvb_unregister_frontend() and dvb_frontend_detach() invoke tuner sleep() and release() interfaces. Change to unregister i2c tuner and demod from em28xx_unregister_dvb() after unregistering dvb and detaching fe. Signed-off-by: Shuah