OpenCloudOS-Kernel/drivers/media
Bingbu Cao 54ade663d4 media: ov2740: identify module after subdev initialisation
The module identifying will try to get the sub device data which
will be ready after sub device initialisation, so if try to use the
subdev data to deference the client will cause NULL pointer
dereference, this patch move the module identification after
v4l2_i2c_subdev_init() to fix this issue, it also fixes duplicate
module idendification.

Fixes: ada2c4f54d ("media: ov2740: support device probe in non-zero ACPI D state")
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-01-28 19:32:49 +01:00
..
cec media: platform: cros-ec: Add brask to the match table 2022-01-23 21:18:42 +01:00
common media: saa7146: fix error logic at saa7146_vv_init() 2021-12-14 15:09:14 +01:00
dvb-core media: dvb-core: dvb_frontend: address some clang warnings 2021-11-29 10:15:04 +01:00
dvb-frontends media: media si2168: Fix spelling mistake "previsously" -> "previously" 2021-12-07 11:29:57 +01:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-09-30 10:07:54 +02:00
i2c media: ov2740: identify module after subdev initialisation 2022-01-28 19:32:49 +01:00
mc bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: bttv: fix WARNING regression on tunerless devices 2022-01-23 21:18:43 +01:00
platform media: v4l2-fwnode: Move bus config structure to v4l2_mediabus.h 2022-01-28 15:52:41 +01:00
radio media: media/radio: make array probe_ports static const 2022-01-23 21:18:43 +01:00
rc media: mtk-cir: simplify code 2022-01-24 01:38:32 +01:00
spi media: cxd2880: Eliminate dead code 2021-12-07 11:29:57 +01:00
test-drivers media: vivid: fix timestamp and sequence wrapping 2022-01-23 21:18:42 +01:00
tuners media: si2157: add support for DVB-C Annex C 2022-01-10 15:56:50 +01:00
usb media: gspca: make array regs_to_read static const 2022-01-23 21:18:43 +01:00
v4l2-core media: v4l: Avoid unaligned access warnings when printing 4cc modifiers 2022-01-28 19:32:49 +01:00
Kconfig media: correct MEDIA_TEST_SUPPORT help text 2021-11-15 08:12:06 +00:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00