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)
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>

No differences found