diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-04-19 09:07:12 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-25 16:21:23 +0200 |
commit | 9f43234ef07c5d1978b02e5996927c110666d96e (patch) | |
tree | fcb608584bbda371ca164843ac307300c937eedb /drivers/media/radio/wl128x | |
parent | media: imx: imx7-media-csi: Relax width constraints for non-8bpp formats (diff) | |
download | linux-9f43234ef07c5d1978b02e5996927c110666d96e.tar.xz linux-9f43234ef07c5d1978b02e5996927c110666d96e.zip |
media: imx: imx7-media-csi: Init default format with __imx7_csi_video_try_fmt()
Use the __imx7_csi_video_try_fmt() helper function to initialize the
default format at probe time. This improves consistency by using the
same code path for both default initialization and validation at
runtime, and allows dropping the now unused imx7_csi_find_pixel_format()
function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/radio/wl128x')
0 files changed, 0 insertions, 0 deletions