Skip to content
Commit 4dd520b3 authored by Bin Meng's avatar Bin Meng Committed by Jagan Teki
Browse files

dm: spi: Return 0 if driver does not implement ops->cs_info



If an SPI controller driver does not implement ops->cs_info, that
probably means any chip select number could be valid, hence let's
return 0 for spi_cs_info().

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # SoPine
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 0c8e6056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment