Commit 87587016 authored by Philipp Zabel's avatar Philipp Zabel Committed by Jonathan Cameron

iio: adc: rockchip_saradc: explicitly request exclusive reset control

Commit a53e35db ("reset: Ensure drivers are explicit when requesting
reset lines") started to transition the reset control request API calls
to explicitly state whether the driver needs exclusive or shared reset
control behavior. Convert all drivers requesting exclusive resets to the
explicit API call so the temporary transition helpers can be removed.

No functional changes.

Cc: Jonathan Cameron <>
Cc: Hartmut Knaack <>
Cc: Lars-Peter Clausen <>
Cc: Peter Meerwald-Stadler <>
Cc: Heiko Stuebner <>
Signed-off-by: default avatarPhilipp Zabel <>
Signed-off-by: default avatarJonathan Cameron <>
parent a1b509df
......@@ -240,7 +240,8 @@ static int rockchip_saradc_probe(struct platform_device *pdev)
* The reset should be an optional property, as it should work
* with old devicetrees as well
info->reset = devm_reset_control_get(&pdev->dev, "saradc-apb");
info->reset = devm_reset_control_get_exclusive(&pdev->dev,
if (IS_ERR(info->reset)) {
ret = PTR_ERR(info->reset);
if (ret != -ENOENT)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment