diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-08-28 23:40:26 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-08-29 14:04:04 +0200 |
commit | a618cf4800970d260871c159b7eec014a1da2e81 (patch) | |
tree | 545fad6d7bc009765548f0db89d3298f8bbf9fda /drivers/gpio/gpiolib-of.c | |
parent | 78d3a92edbfb02e8cb83173cad84c3f2d5e1f070 (diff) | |
download | linux-a618cf4800970d260871c159b7eec014a1da2e81.tar.gz linux-a618cf4800970d260871c159b7eec014a1da2e81.tar.bz2 linux-a618cf4800970d260871c159b7eec014a1da2e81.zip |
gpio: dwapb: Fix error handling in dwapb_gpio_probe()
If dwapb_gpio_add_port() fails in dwapb_gpio_probe(),
gpio->clk is left undisabled.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions