Re: [PATCHv2 9/9] vimc: use new release op

2019-03-05 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Tue, Mar 05, 2019 at 10:58:47AM +0100, hverkuil-ci...@xs4all.nl wrote: > From: Hans Verkuil > > Use the new v4l2_subdev_internal_ops release op to free the > subdev memory only once the last user closed the file handle. > > Signed-off-by: Hans Verkuil > --

[PATCHv2 9/9] vimc: use new release op

2019-03-05 Thread hverkuil-cisco
From: Hans Verkuil Use the new v4l2_subdev_internal_ops release op to free the subdev memory only once the last user closed the file handle. Signed-off-by: Hans Verkuil --- drivers/media/platform/vimc/vimc-common.c | 2 ++ drivers/media/platform/vimc/vimc-common.h | 2 ++ drivers/media/pla