diff options
| author | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-04-24 11:27:30 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-09-09 15:59:16 +0200 |
| commit | 075710b670d96cf9edca1894abecba7402fe4f34 (patch) | |
| tree | 2df33c36210d2e1466942f21531575898b5eb291 /tools/perf/scripts/python | |
| parent | 4010eef01debc50facbea76a37b9445c61c379bf (diff) | |
media: i2c: mt9p031: fix mbus code initialization
The mediabus code is device dependent, but the probe() function
thought that device_get_match_data() would return the code directly,
when in fact it returned a pointer to a struct mt9p031_model_info.
As a result, the initial mbus code was garbage.
Tested with a BeagleBoard xM and a Leopard Imaging LI-5M03 sensor board.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Tested-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Fixes: a80b1bbff88b ("media: mt9p031: Refactor format handling for different sensor models")
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
