commit | 28f7604f48c1cbb69e9c45bc53c84b6ad1f7fa77 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@nbd.name> | Sun Feb 10 00:38:25 2019 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Feb 12 16:41:11 2019 +0000 |
tree | 4f80c719e99aeeb9dc43ecac36f8026001b8521d | |
parent | 9b4f84212f04d015b7ff12e9e425ad9ac7e517da [diff] |
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>