diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2014-09-12 17:54:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-13 09:25:46 -0700 |
commit | 8936decdd977ee614234153a1aba85d12329fa7a (patch) | |
tree | fabcd93df3fb6f3f901e28abd529609f6eb7c4c1 /fs/afs/inode.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | blackbird-op-linux-8936decdd977ee614234153a1aba85d12329fa7a.tar.gz blackbird-op-linux-8936decdd977ee614234153a1aba85d12329fa7a.zip |
spi: davinci: request cs_gpio's from probe
Now CS GPIOs are requested from struct spi_master.setup() callback
and that causes failures when Client SPI device is getting accessed
through SPIDEV driver. The failure happens, because .setup() callback
may be called many times from IOCTL handler and when it's called
second time gpio_request() will fail and return -EBUSY.
Hence, fix it by moving CS GPIOs requesting code in .probe().
Reported-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/afs/inode.c')
0 files changed, 0 insertions, 0 deletions