commit | df93e2041445e203463ac465b4c7d508e3a3c93c | [log] [tgz] |
---|---|---|
author | Alain Volmat <alain.volmat@foss.st.com> | Thu May 08 00:51:22 2025 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue May 13 22:22:09 2025 -0400 |
tree | d754d9c3e5d019e414251cc68f2f49a7a2a51635 | |
parent | a72cfba503bc7f808ef9b4c9e30a91a1a7a6b796 [diff] |
video: stm32-dcmi: correct get/set fmt handling This commit mainly correct the get/set format handling and how DCMI format is stored within the driver. struct video_format within the data structure is used to store the format. Reworked way to handle get format to avoid calling the sensor set_fmt whenever performing the get_fmt. Slightly adjusted code to as much as possible reuse return values provided by functions. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>