diff options
author | Vignesh R <vigneshr@ti.com> | 2019-02-05 11:29:14 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2019-02-07 15:33:21 +0530 |
commit | 76094485e462d1bed6c37ed465d1fcb341d94531 (patch) | |
tree | 433dd1488db6d07fe7b6cc6d35db50206b105329 /include/linux/mii.h | |
parent | 12563f768ed7357d52bc15773b76cbeca6407d92 (diff) |
spi: spi-mem: Claim SPI bus before spi mem access
It is necessary to call spi_claim_bus() before starting any SPI
transactions and this restriction would also apply when calling spi-mem
operations. Therefore claim and release bus before requesting transfer
via exec_op.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tested-by: Stefan Roese <sr@denx.de>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed
Diffstat (limited to 'include/linux/mii.h')
0 files changed, 0 insertions, 0 deletions