diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-06-28 16:40:36 +0300 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-09-17 12:14:54 +0300 |
| commit | e33ce9db24af0f1b646a5fade47a388ba9a06a2e (patch) | |
| tree | 65b61f3e33eb6fe705524b8f29fa0313d3f0afc0 /tools/perf/scripts/python/bin | |
| parent | 92e0c721f754948d54d7ac51a417a7bb7772fa72 (diff) | |
media: mt9m001: Pass sub-device state to set_selection() callback
When the set_selection() pad operation is called from mt9m001_s_fmt(),
it receives a NULL pointer for the state argument. As the function does
not use the state this does not cause any issue in practice, but it
could cause NULL pointer dereferences if the mt9m001_set_selection()
implementation is modified. Avoid future issues by passing the subdev
state.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
