ASOC: adau7118: Change regulators id
authorNuno Sá <nuno.sa@analog.com>
Mon, 21 Oct 2019 14:08:16 +0000 (16:08 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Oct 2019 14:53:49 +0000 (15:53 +0100)
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>
sound/soc/codecs/adau7118.c

index bf5a5d75f81a4a10b82d91a696b3270e91dfa524..841229dcbca108f49f7abaa1a5adb46cec19beeb 100644 (file)
@@ -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));