diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2016-11-08 18:48:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-09 13:04:17 +0000 |
commit | 9610620078a3900e7fad82de620ce809fd29ba60 (patch) | |
tree | 2b1a6a4eab45a3e472eff39a7e23ff5211b2bc37 /arch/arm/lib/ashrdi3.S | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
spi: atmel: use managed resource for gpio chip select
Use the managed gpio CS pin request so that we avoid having trouble
in the cleanup code.
In fact, if module was configured with DT, cleanup code released
invalid pin. Since resource wasn't freed, module cannot be reinserted.
This require to extract the gpio request call from the "setup" function
and call it in the appropriate probe function.
Reported-by: Alexander Morozov <linux@meltdown.ru>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm/lib/ashrdi3.S')
0 files changed, 0 insertions, 0 deletions