commit | 9f71ba7e943fbfb2ddc69a6bc7f69de1834fed09 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Mon Sep 09 06:00:00 2019 -0700 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Fri Oct 25 00:48:31 2019 +0530 |
tree | 5fa8faec8ebd54460c5ca96c88278f3ea053daba | |
parent | 38d91fe6743a3c7e5e2fcf6b1bc54717336e4225 [diff] |
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: Bin Meng <bmeng.cn@gmail.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> # SoPine Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>