summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/adau7118.c
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2019-10-21 17:08:16 +0300
committerMark Brown <broonie@kernel.org>2019-10-21 17:53:49 +0300
commitb2d6ee75312649d55b41386d1d80cdbca48e3cf0 (patch)
treea32308e25dabaa4c70faf8536da8aef46afd74ef /sound/soc/codecs/adau7118.c
parentb5c2e97e08070fa523bd2ddae8020bd42e0a362e (diff)
downloadlinux-b2d6ee75312649d55b41386d1d80cdbca48e3cf0.tar.xz
ASOC: adau7118: Change regulators id
Change the regulators id in accordance with b670e44fc3bd. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20191021140816.262401-3-nuno.sa@analog.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/adau7118.c')
-rw-r--r--sound/soc/codecs/adau7118.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/adau7118.c b/sound/soc/codecs/adau7118.c
index bf5a5d75f81a..841229dcbca1 100644
--- a/sound/soc/codecs/adau7118.c
+++ b/sound/soc/codecs/adau7118.c
@@ -463,14 +463,14 @@ static void adau7118_regulator_disable(void *data)
static int adau7118_regulator_setup(struct adau7118_data *st)
{
- st->iovdd = devm_regulator_get(st->dev, "IOVDD");
+ st->iovdd = devm_regulator_get(st->dev, "iovdd");
if (IS_ERR(st->iovdd)) {
dev_err(st->dev, "Could not get iovdd: %ld\n",
PTR_ERR(st->iovdd));
return PTR_ERR(st->iovdd);
}
- st->dvdd = devm_regulator_get(st->dev, "DVDD");
+ st->dvdd = devm_regulator_get(st->dev, "dvdd");
if (IS_ERR(st->dvdd)) {
dev_err(st->dev, "Could not get dvdd: %ld\n",
PTR_ERR(st->dvdd));