summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2016-11-08 20:48:52 +0300
committerMark Brown <broonie@kernel.org>2016-11-09 16:04:17 +0300
commit9610620078a3900e7fad82de620ce809fd29ba60 (patch)
tree2b1a6a4eab45a3e472eff39a7e23ff5211b2bc37 /tools/perf/scripts
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadlinux-9610620078a3900e7fad82de620ce809fd29ba60.tar.xz
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 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions