u-boot-brain/doc/driver-model
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
..
debugging.rst dm: core: Add documentation on how to debug driver model 2019-10-08 13:57:37 +08:00
design.rst doc: driver-model: Convert README.txt to reST 2019-07-24 10:07:24 -04:00
fdt-fixup.rst doc: driver-model: Convert fdt-fixup.txt to reST 2019-07-24 10:07:24 -04:00
fs_firmware_loader.rst doc: driver-model: Convert fs_firmware_loader.txt to reST 2019-07-24 10:07:24 -04:00
i2c-howto.rst doc: driver-model: Convert i2c-howto.txt to reST 2019-07-24 10:07:24 -04:00
index.rst dm: core: Add documentation on how to debug driver model 2019-10-08 13:57:37 +08:00
livetree.rst doc: driver-model: Convert livetree.txt to reST 2019-07-24 10:07:24 -04:00
migration.rst dm: MIGRATION: Add migration plan for CONFIG_DM 2019-09-19 12:54:30 -04:00
of-plat.rst doc: fix: Replace SPL_OF_PLATDATA with OF_PLATDATA in examples 2019-09-19 12:54:28 -04:00
pci-info.rst pci: Correct 'specifified' and 'Plese' typos 2019-10-08 13:57:42 +08:00
pmic-framework.rst doc: driver-model: Convert pmic-framework.txt to reST 2019-07-24 10:07:24 -04:00
remoteproc-framework.rst doc: driver-model: Convert remoteproc-framework.txt to reST 2019-07-24 10:07:24 -04:00
serial-howto.rst doc: driver-model: Convert serial-howto.txt to reST 2019-07-24 10:07:24 -04:00
spi-howto.rst dm: spi: Change cs_info op to return -EINVAL for invalid cs num 2019-10-25 00:48:31 +05:30
usb-info.rst doc: driver-model: Convert usb-info.txt to reST 2019-07-24 10:07:24 -04:00