diff options
author | Michael Welling | 2015-11-30 09:02:39 -0600 |
---|---|---|
committer | Mark Brown | 2015-12-01 17:05:34 +0000 |
commit | 2f538c017e1a8620d19553931199c6d6a6d31bb2 (patch) | |
tree | 8695571786a4c1a27d2fea132757ee9ca495380e /drivers/lightnvm/gennvm.c | |
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>
Diffstat (limited to 'drivers/lightnvm/gennvm.c')
0 files changed, 0 insertions, 0 deletions