WSL2-Linux-Kernel/drivers/media
Hans Verkuil 2b177f2849 media: vimc: use new release op
Use the new v4l2_subdev_internal_ops release op to free the
subdev memory only when the last user closed the file handle.

Move v4l2_device_unregister_subdev() to the end of the
vimc_ent_sd_unregister() function since now the unregister_subdev()
call may free the vimc_ent_device struct which is used after the
unregister_subdev() call. So this now has to be done last.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-19 13:34:16 -04:00
..
cec media: cec: fill in cec chardev kobject to ease debugging 2019-03-19 13:19:49 -04:00
common DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
dvb-core media: dvb-core: fix several typos 2019-03-01 09:28:08 -05:00
dvb-frontends media: dvb-frontends: fix several typos 2019-03-01 09:26:20 -05:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2018-12-05 05:34:33 -05:00
i2c media: i2c: fix several typos 2019-03-01 09:29:58 -05:00
mmc
pci 5.1 Merge Window Pull Request 2019-03-09 15:53:03 -08:00
platform media: vimc: use new release op 2019-03-19 13:34:16 -04:00
radio media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
rc media: rc: fix several typos 2019-03-01 09:39:39 -05:00
spi media: cxd2880-spi: fix two memory leaks of dvb_spi 2019-01-16 11:44:29 -05:00
tuners media: tuners: fix several typos 2019-03-01 09:40:29 -05:00
usb media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
v4l2-core media: v4l2-subdev: handle module refcounting here 2019-03-19 13:29:37 -04:00
Kconfig media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
Makefile media: media-request: implement media requests 2018-08-31 11:04:51 -04:00
media-device.c media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
media-devnode.c media: media-devnode: fill in media chardev kobject to ease debugging 2019-03-19 13:21:16 -04:00
media-entity.c media: v4l2-subdev: handle module refcounting here 2019-03-19 13:29:37 -04:00
media-request.c media: media-request: fix epoll() by calling poll_wait first 2019-02-18 14:45:33 -05:00