Files
u-boot/drivers/spi
Bin Meng 4b06000395 dm: spi: Change cs_info op to return -EINVAL for invalid cs num
We need distinguish the following two situations in various SPI APIs:

- given chip select num is invalid
- given chip select num is valid, but no device is attached

Currently -ENODEV is returned for both cases.

For the first case, it's more reasonable to return -EINVAL instead of
-ENODEV for invalid chip select numbers.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # SoPine
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2019-10-25 00:48:31 +05:30
..
2018-11-27 21:06:53 +05:30
2019-07-09 09:26:43 +03:00
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-10-25 00:48:31 +05:30
2018-11-27 21:06:53 +05:30
2018-12-03 10:44:10 -05:00
2019-06-10 17:59:49 +05:30
2019-06-11 10:42:48 +02:00
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-07-18 17:11:16 +05:30
2019-04-17 17:43:54 +05:30