|
@@ -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,
|
|
|
+ "saradc-apb");
|
|
|
if (IS_ERR(info->reset)) {
|
|
|
ret = PTR_ERR(info->reset);
|
|
|
if (ret != -ENOENT)
|