Skip to contentSkip to conversation

patch "iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'" added to staging-linus

PATCH [email protected] 1 participant 1 message May 15, 2020

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'

to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.

The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)

The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.

If you have any questions about this process, please let me know.

From aad4742fbf0a560c25827adb58695a4497ffc204 Mon Sep 17 00:00:00 2001
From: Christophe JAILLET <[email protected]>
Date: Sun, 26 Apr 2020 21:44:03 +0200
Subject: iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'

A call to 'vf610_dac_exit()' is missing in an error handling path.

Fixes 1b983bf42fad ("iio: dac: vf610_dac: Add IIO DAC driver for Vybrid SoC")
---
 drivers/iio/dac/vf610_dac.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/dac/vf610_dac.c +1 -0
index 71f8a5c471c4..7f1e9317c3f3 100644
@@ -223,6 +223,7 @@ static int vf610_dac_probe(struct platform_device *pdev)
 	return 0;
 
 error_iio_device_register:
+	vf610_dac_exit(info);
 	clk_disable_unprepare(info->clk);
 
 	return ret;
Signature · 1 line
2.26.2