]> Pileus Git - ~andy/linux/commit
spi: spi-gpio: Use 'cansleep' variants to access GPIO
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Sun, 24 Nov 2013 12:37:01 +0000 (09:37 -0300)
committerMark Brown <broonie@linaro.org>
Sun, 24 Nov 2013 14:12:36 +0000 (14:12 +0000)
commitd9dda5a1917a01e6317f7bee81e7e6ed236d7e0a
tree9309119fa4547d6bb5d7301f916681cc565cc451
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi: spi-gpio: Use 'cansleep' variants to access GPIO

The GPIO chip in use could be of any kind, and therefore might sleep
when accesing the GPIO lines. Take account of this by using cansleep
instead, which is the most generic case.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-gpio.c