Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: Add error checking for invalid bus widths
At present an invalid bus width prints a message but does not return an error. This is the opposite of the correct behaviour. Adjust it to avoid code bloat in the common case, and avoid hard-to-debug failure in the uncommon case. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
- Loading branch information