diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-02-10 00:38:25 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-12 16:41:11 +0000 |
commit | 28f7604f48c1cbb69e9c45bc53c84b6ad1f7fa77 (patch) | |
tree | 4f80c719e99aeeb9dc43ecac36f8026001b8521d /ipc | |
parent | 9b4f84212f04d015b7ff12e9e425ad9ac7e517da (diff) | |
download | linux-28f7604f48c1cbb69e9c45bc53c84b6ad1f7fa77.tar.bz2 |
spi: use gpio[d]_set_value_cansleep for setting chipselect GPIO
Sleeping is safe inside spi_transfer_one_message, and some
GPIO chips are running on slow busses (such as I2C GPIO
expanders) and need to sleep for setting values.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions