Re: [PATCH 7/9] lgdt3306a: Set fe ops.release to NULL if probed

2018-01-09 Thread Michael Ira Krufky
On Tue, Jan 9, 2018 at 12:17 AM, Matthias Schwarzott wrote: > Am 05.01.2018 um 01:19 schrieb Michael Ira Krufky: >> On Thu, Jan 4, 2018 at 7:04 PM, Brad Love wrote: >>> If release is part of frontend ops then it is called in the >>> course of dvb_frontend_detach. The process also decrements >>> t

Re: [PATCH 7/9] lgdt3306a: Set fe ops.release to NULL if probed

2018-01-08 Thread Matthias Schwarzott
Am 05.01.2018 um 01:19 schrieb Michael Ira Krufky: > On Thu, Jan 4, 2018 at 7:04 PM, Brad Love wrote: >> If release is part of frontend ops then it is called in the >> course of dvb_frontend_detach. The process also decrements >> the module usage count. The problem is if the lgdt3306a >> driver is

Re: [PATCH 7/9] lgdt3306a: Set fe ops.release to NULL if probed

2018-01-04 Thread Brad Love
On 2018-01-04 18:19, Michael Ira Krufky wrote: > On Thu, Jan 4, 2018 at 7:04 PM, Brad Love wrote: >> If release is part of frontend ops then it is called in the >> course of dvb_frontend_detach. The process also decrements >> the module usage count. The problem is if the lgdt3306a >> driver is r

Re: [PATCH 7/9] lgdt3306a: Set fe ops.release to NULL if probed

2018-01-04 Thread Michael Ira Krufky
On Thu, Jan 4, 2018 at 7:04 PM, Brad Love wrote: > If release is part of frontend ops then it is called in the > course of dvb_frontend_detach. The process also decrements > the module usage count. The problem is if the lgdt3306a > driver is reached via i2c_new_device, then when it is > eventually

[PATCH 7/9] lgdt3306a: Set fe ops.release to NULL if probed

2018-01-04 Thread Brad Love
If release is part of frontend ops then it is called in the course of dvb_frontend_detach. The process also decrements the module usage count. The problem is if the lgdt3306a driver is reached via i2c_new_device, then when it is eventually destroyed remove is called, which further decrements the mo