diff options
author | Michael Welling <mwelling@ieee.org> | 2015-11-30 18:02:39 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-01 20:05:34 +0300 |
commit | 2f538c017e1a8620d19553931199c6d6a6d31bb2 (patch) | |
tree | 8695571786a4c1a27d2fea132757ee9ca495380e /include/linux/spi | |
parent | beca365565d8f8912dce67567f54ad4c71734843 (diff) | |
download | linux-2f538c017e1a8620d19553931199c6d6a6d31bb2.tar.xz |
spi: omap2-mcspi: Prevent duplicate gpio_request
Occasionally the setup function will be called multiple times. Only request
the gpio the first time otherwise -EBUSY will occur on subsequent calls to
setup.
Reported-by: Joseph Bell <joe@iachieved.it>
Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
0 files changed, 0 insertions, 0 deletions