linux/drivers/mfd/mxs-lradc.c
Alexey Khoroshilov aeb01451f9 mfd: mxs-lradc: Fix error handling in mxs_lradc_probe()
[ Upstream commit 362741a21a ]

There is the only path, where mxs_lradc_probe() leaves clk undisabled,
since it does return instead of goto err_clk.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-20 10:10:33 +01:00

269 lines
7.2 KiB