diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2019-10-14 03:07:50 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2019-11-05 14:51:15 +0300 |
commit | 8f490061747218ae3dd595637bfb6f2905e79fb7 (patch) | |
tree | 4c1a641fd917648e97dc753be6054d50a655e7b4 /drivers/media/platform/am437x | |
parent | 1091eb830627625dcf79958d99353c2391f41708 (diff) | |
download | linux-8f490061747218ae3dd595637bfb6f2905e79fb7.tar.xz |
media: rcar-vin: Do not enumerate unsupported pixel formats
If a pixel format is not supported by the hardware NULL is returned by
rvin_format_from_pixel() for that fourcc. Verify that the pixel format
is supported using this or skip it when enumerating.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/am437x')
0 files changed, 0 insertions, 0 deletions