diff options
| author | Laurent Pinchart <[email protected]> | 2022-06-14 20:10:49 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-17 12:07:37 +0100 |
| commit | b0b8ab684d7dfbfe33e0c92fb71ebf2912f2f091 (patch) | |
| tree | 2305e988aa04dc571e8412a0eba16a7de406c312 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 124b89f85e306a5bcaf5d285a3c574daa5bb1d50 (diff) | |
media: rkisp1: Fix sensor source pad retrieval at bound time
When a sensor is bound, its source pad is retrieved in the .bound()
operation with a call to media_entity_get_fwnode_pad(). The function
should be called with the source endpoint fwnode of the sensor, but is
instead called with the sensor's device fwnode.
Fix this, which involves storing a reference to the source endpoint
fwnode in the rkisp1_sensor_async structure, and thus implementing the
subdev notifier .destroy() operation to release the reference.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Paul Elder <[email protected]>
Reviewed-by: Dafna Hirschfeld <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions