commit | 2f538c017e1a8620d19553931199c6d6a6d31bb2 | [log] [tgz] |
---|---|---|
author | Michael Welling <mwelling@ieee.org> | Mon Nov 30 09:02:39 2015 -0600 |
committer | Mark Brown <broonie@kernel.org> | Tue Dec 01 17:05:34 2015 +0000 |
tree | 8695571786a4c1a27d2fea132757ee9ca495380e | |
parent | beca365565d8f8912dce67567f54ad4c71734843 [diff] |
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>