diff options
Diffstat (limited to 'drivers/regulator/wm831x-dcdc.c')
-rw-r--r-- | drivers/regulator/wm831x-dcdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c index 0c7a9d5047f..8a4fdc3a45d 100644 --- a/drivers/regulator/wm831x-dcdc.c +++ b/drivers/regulator/wm831x-dcdc.c | |||
@@ -551,7 +551,7 @@ static __devinit int wm831x_buckv_probe(struct platform_device *pdev) | |||
551 | } | 551 | } |
552 | dcdc->on_vsel = ret & WM831X_DC1_ON_VSEL_MASK; | 552 | dcdc->on_vsel = ret & WM831X_DC1_ON_VSEL_MASK; |
553 | 553 | ||
554 | ret = wm831x_reg_read(wm831x, dcdc->base + WM831X_DCDC_ON_CONFIG); | 554 | ret = wm831x_reg_read(wm831x, dcdc->base + WM831X_DCDC_DVS_CONTROL); |
555 | if (ret < 0) { | 555 | if (ret < 0) { |
556 | dev_err(wm831x->dev, "Failed to read DVS VSEL: %d\n", ret); | 556 | dev_err(wm831x->dev, "Failed to read DVS VSEL: %d\n", ret); |
557 | goto err; | 557 | goto err; |