summaryrefslogtreecommitdiffstats
path: root/Documentation/ioctl
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-31 12:06:33 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-02-06 22:38:31 +0100
commitfa1ec996ac1a42e46ec7dca089252f124c81d7bd (patch)
treef426273718c901003868953b3e76137a8e9d493d /Documentation/ioctl
parentpinctrl/lantiq: fix pin number in ltq_pmx_gpio_request_enable (diff)
downloadlinux-fa1ec996ac1a42e46ec7dca089252f124c81d7bd.tar.xz
linux-fa1ec996ac1a42e46ec7dca089252f124c81d7bd.zip
pinctrl/abx500: prevent error path from corrupting returning error
Prior to this patch abx500_gpio_probe() would return the return-value of gpiochip_remove() during its error patch regardless of what the actual failure was. So as long as gpiochip_remove() succeeded, probe() would look like it succeeded too. This patch ensures the correct error value is returned and that mutex_destroy() is invoked if gpiochip_add_pin_range() were to fail. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/ioctl')
0 files changed, 0 insertions, 0 deletions