[U-Boot] [PATCH v2 1/4] dm: spi: Return 0 if driver does not implement ops->cs_info

Bin Meng bmeng.cn at gmail.com
Sun Sep 29 08:04:19 UTC 2019


Hi Jagan,

On Mon, Sep 9, 2019 at 9:00 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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 at gmail.com>
> Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>
>
> ---
>
> Changes in v2:
> - update spi-howto.rst to reflect the code changes
>
>  doc/driver-model/spi-howto.rst | 4 ++--
>  drivers/spi/spi-uclass.c       | 7 +++----
>  2 files changed, 5 insertions(+), 6 deletions(-)
>

Ping for this series?

Regards,
Bin


More information about the U-Boot mailing list