summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-generic.c
diff options
context:
space:
mode:
authorVarka Bhadram2015-01-19 09:05:48 +0100
committerLinus Walleij2015-01-19 09:48:45 +0100
commit513858585202171d7603024ea65659335df4c8e9 (patch)
tree715361c324ecbd3bce2a738f5d08ae1e3f41d3d5 /drivers/gpio/gpio-generic.c
parentgpio: ge: fix compilation error (diff)
downloadkernel-qcow2-linux-513858585202171d7603024ea65659335df4c8e9.tar.gz
kernel-qcow2-linux-513858585202171d7603024ea65659335df4c8e9.tar.xz
kernel-qcow2-linux-513858585202171d7603024ea65659335df4c8e9.zip
gpio-amd8111: add release_region on ioport_map failure
Commit ffe4770b9b3483f74 ("gpio-amd8111: check ioport_map return value") adds the error check on ioport_map(). It doesnt release the requested region. On failure this patch release the region that has requested before. Signed-off-by: Varka Bhadram <varkab@cdac.in> Reported-by: Alexandre Courbot <gnurou@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-generic.c')
0 files changed, 0 insertions, 0 deletions