commit | 4dd520b36bce9b35f7a12f3ffd9a95269d425170 | [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 | 0c8e605670fac186f225a957eb8e1a774cb17c41 [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>