1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-25 16:35:21 +01:00
Files
u-boot-megous/include
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
..
2017-07-03 17:35:28 -04:00
2019-10-16 05:42:27 +02:00
2019-09-04 11:37:19 -05:00
2019-05-20 13:50:34 +02:00
2019-07-24 13:16:29 -04:00
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2019-08-11 16:43:41 -04:00
2019-09-20 20:09:19 +02:00
2019-08-22 00:10:09 +02:00
2019-08-11 16:43:41 -04:00
2018-09-10 20:48:16 -04:00
2019-07-19 11:11:09 +08:00
2019-04-23 20:26:43 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2019-10-13 23:34:43 +02:00
2019-10-06 16:02:37 +02:00
2019-04-22 12:06:39 -04:00
2019-08-11 16:43:41 -04:00
2018-09-23 21:55:30 +02:00
2019-10-08 13:57:47 +08:00
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2019-08-27 11:19:23 +02:00
2018-10-22 13:01:27 +02:00
2019-10-14 09:31:41 +02:00
2019-01-01 14:12:18 +01:00
2018-12-05 06:01:35 -07:00
2017-07-23 09:24:47 -04:00
2018-04-06 17:04:33 -04:00
2019-08-11 16:43:41 -04:00
2019-02-02 08:19:17 -05:00
2019-08-02 11:19:14 -04:00
2019-07-18 16:37:13 -05:00
2019-05-20 13:50:34 +02:00
2018-10-02 22:12:32 +05:30
2018-10-09 04:40:27 -06:00
2019-05-20 13:50:34 +02:00
2018-07-19 16:31:37 -04:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2019-06-04 22:09:26 +02:00
2018-09-28 18:26:32 +02:00
2019-07-19 20:14:50 +02:00