diff options
| author | Steve Longerbeam <[email protected]> | 2020-04-06 18:38:59 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-04-21 13:16:07 +0200 |
| commit | 3130c45c2ba357d0f495f178fc34b6b76c215596 (patch) | |
| tree | 792adf8b5c2bb82447afc672ed02bff7f2d6fc1c /tools/perf/scripts/python | |
| parent | 0cd5d896a192887041f4030c1d388099a572322e (diff) | |
media: imx: Fix some pixel format selections
- imx_media_capture_device_register() needs to use CS_SEL_ANY when
finding the format from the attached source subdevice, because the
source can be a CSI which supports bayer, and the CSI may have selected
a bayer format when it registered.
- Likewise, imx_media_init_mbus_fmt() is called from the CSI, so the
function may be passed a bayer code. Use CS_SEL_ANY when locating
the format.
Signed-off-by: Steve Longerbeam <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions