diff options
| author | Bingbu Cao <[email protected]> | 2022-01-13 01:18:48 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-01-28 19:32:49 +0100 |
| commit | 54ade663d4bb606e23dbc4e0d49e2e9837dbb33f (patch) | |
| tree | 62ff56b8242ee9762b2dc1299d3b044fcdb88a9b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e9b06e21266eb9becbb6d3e4fba63e960fbdbcef (diff) | |
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: ada2c4f54d0a ("media: ov2740: support device probe in non-zero ACPI D state")
Signed-off-by: Bingbu Cao <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions