diff options
author | Mark Brown <broonie@kernel.org> | 2023-04-11 17:11:32 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-11 17:11:32 +0200 |
commit | 53e59b5c4645236f0014d3cc5c24bc71ad3f6120 (patch) | |
tree | 64c6005d6ffd496454fffb05b584ffb7011e12b4 /drivers/regulator/fixed.c | |
parent | regulator: qcom_smd: Add MP5496 S1 regulator (diff) | |
parent | regulator: fan53555: Add support for RK860X (diff) | |
download | linux-53e59b5c4645236f0014d3cc5c24bc71ad3f6120.tar.xz linux-53e59b5c4645236f0014d3cc5c24bc71ad3f6120.zip |
Add support for Rockchip RK860X regulators
Merge series from Cristian Ciocaltea <cristian.ciocaltea@collabora.com>:
This patch series introduces support for the Rockchip RK860X regulators,
while also providing a few fixes and improvements to the existing fan53555
driver.
RK8600/RK8601 are quite similar to the FAN53555 regulators.
RK8602/RK8603 are a bit different, having a wider output voltage
selection range, from 0.5 V to 1.5 V in 6.25 mV steps. They are used
in the Rock 5B board to power the ARM Cortex-A76 cores and the NPU.
Diffstat (limited to 'drivers/regulator/fixed.c')
-rw-r--r-- | drivers/regulator/fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index e3436f49dea4..364d1a2683b7 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c @@ -215,7 +215,7 @@ static int reg_fixed_voltage_probe(struct platform_device *pdev) drvdata->enable_clock = devm_clk_get(dev, NULL); if (IS_ERR(drvdata->enable_clock)) { dev_err(dev, "Can't get enable-clock from devicetree\n"); - return -ENOENT; + return PTR_ERR(drvdata->enable_clock); } } else if (drvtype && drvtype->has_performance_state) { drvdata->desc.ops = &fixed_voltage_domain_ops; |