OSDN Git Service

mfd: mxs-lradc: Fix error handling in mxs_lradc_probe()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 13 Oct 2017 22:06:56 +0000 (01:06 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 24 Oct 2017 08:12:14 +0000 (09:12 +0100)
commit362741a21a5c4b9ee31e75ce28d63c6d238a745c
treed972e515422302f7fcc78f20e513c8bef69bddd9
parent07d70913dce59f3c8e5d0ca76250861158a9ca6c
mfd: mxs-lradc: Fix error handling in mxs_lradc_probe()

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>
drivers/mfd/mxs-lradc.c