summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sprd.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-02-10 00:38:25 +0100
committerMark Brown <broonie@kernel.org>2019-02-12 16:41:11 +0000
commit28f7604f48c1cbb69e9c45bc53c84b6ad1f7fa77 (patch)
tree4f80c719e99aeeb9dc43ecac36f8026001b8521d /drivers/spi/spi-sprd.c
parent9b4f84212f04d015b7ff12e9e425ad9ac7e517da (diff)
downloadlinux-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 'drivers/spi/spi-sprd.c')
0 files changed, 0 insertions, 0 deletions