linux_dsm_epyc7002/drivers/media
Niklas Söderlund 23525ef9f8 media: rcar-vin: move subdevice handling to async callbacks
In preparation for Gen3 support move the subdevice initialization and
clean up from rvin_v4l2_{register,unregister}() directly to the async
callbacks. This simplifies the addition of Gen3 support as the
rvin_v4l2_register() can be shared for both Gen2 and Gen3 while direct
subdevice control are only used on Gen2.

While moving this code drop a large comment which is copied from the
framework documentation and fold rvin_mbus_supported() into its only
caller. Also move the initialization and cleanup code to separate
functions to increase readability.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-04-20 09:34:53 -04:00
..
cec media: rc: per-protocol repeat period and minimum keyup timer 2018-04-20 09:16:55 -04:00
common media: v4l2-tpg-core.c: add space after % 2018-04-04 06:12:52 -04:00
dvb-core media: dvb_frontend: fix locking issues at dvb_frontend_get_event() 2018-04-17 05:49:58 -04:00
dvb-frontends media: sp887x: fix a warning 2018-03-23 06:54:32 -04:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media updates for v4.17-rc1 2018-04-10 10:10:30 -07:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: cx88: enable IR transmitter on HVR-1300 2018-04-20 09:22:39 -04:00
platform media: rcar-vin: move subdevice handling to async callbacks 2018-04-20 09:34:53 -04:00
radio media: si470x: fix a typo at the Makefile causing build issues 2018-04-18 15:21:41 -04:00
rc media: rc: mtk-cir: use of_device_get_match_data() 2018-04-20 09:24:04 -04:00
spi media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
tuners media: r820t: don't crash if attach fails 2018-04-04 05:36:20 -04:00
usb media: cx231xx: Add support for AverMedia DVD EZMaker 7 2018-04-20 08:37:11 -04:00
v4l2-core media: v4l2-compat-ioctl32: better document the code 2018-04-20 08:24:13 -04:00
Kconfig media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00