Skip to content
Commit 1596ee04 authored by Josuah Demangeon's avatar Josuah Demangeon Committed by Mahesh Mahadevan
Browse files

drivers: video: gc2145: set_fmt: branch on failure rather than success



This aims to make the code more linear by having the for loop
validates the input format rather than search for a match.

Signed-off-by: default avatarJosuah Demangeon <me@josuah.net>
parent 9174cb75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment