Re: [PATCHv2 7/7] cros-ec-cec: decrement HDMI device refcount

2019-04-10 Thread Neil Armstrong
On 10/04/2019 11:13, Hans Verkuil wrote: > The CrosEC CEC driver never decremented the HDMI device refcount. > CEC drivers only need the HDMI device pointer as a key in the > notifier list, it never accesses the device, so there is no > need to keep a reference. > > Signed-off-by: Hans Verkuil >

[PATCHv2 7/7] cros-ec-cec: decrement HDMI device refcount

2019-04-10 Thread Hans Verkuil
The CrosEC CEC driver never decremented the HDMI device refcount. CEC drivers only need the HDMI device pointer as a key in the notifier list, it never accesses the device, so there is no need to keep a reference. Signed-off-by: Hans Verkuil --- drivers/media/platform/cros-ec-cec/cros-ec-cec.c |