diff options
author | Jacopo Mondi <[email protected]> | 2024-06-17 18:11:30 +0200 |
---|---|---|
committer | Laurent Pinchart <[email protected]> | 2024-06-19 19:43:03 +0300 |
commit | 61893eccf6f2f097ed66e162253a5038fd42e43f (patch) | |
tree | d7eff0c92b9543c96313ef6e2d4d9e6a9120b05e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 990ef913e48f186a0b3c6bdf3dbcf779582ac7b5 (diff) |
media: adv748x-csi2: Validate the image format
The adv748x-csi2 driver configures the CSI-2 transmitter to
automatically infer the image stream format from the connected
frontend (HDMI or AFE).
Setting a new format on the subdevice hence does not actually control
the CSI-2 output format, but it's only there for the purpose of
pipeline validation.
However, there is currently no validation that the supplied media bus
code is valid and supported by the device.
With the introduction of enum_mbus_codes a list of supported format is
now available, use it to validate that the supplied format is correct
and use the default UYVY8 one if that's not the case.
Signed-off-by: Jacopo Mondi <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Tested-by: Niklas Söderlund <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions