mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
iio: adc: mxs-lradc: Disable the clock on probe failure
commit 75d7ed3b9e upstream.
We should disable lradc->clk in the case of errors in the probe function.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
138d2d8810
commit
34a01d8696
1 changed files with 8 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue