summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/stm32-dac-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/stm32-dac-core.c')
-rw-r--r--drivers/iio/dac/stm32-dac-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/stm32-dac-core.c b/drivers/iio/dac/stm32-dac-core.c
index 32701be71cf7..55026fe1c610 100644
--- a/drivers/iio/dac/stm32-dac-core.c
+++ b/drivers/iio/dac/stm32-dac-core.c
@@ -125,7 +125,7 @@ static int stm32_dac_probe(struct platform_device *pdev)
goto err_vref;
}
- priv->rst = devm_reset_control_get(dev, NULL);
+ priv->rst = devm_reset_control_get_exclusive(dev, NULL);
if (!IS_ERR(priv->rst)) {
reset_control_assert(priv->rst);
udelay(2);