]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
mfd: arizona: Add MICVDD to mapped regulators
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 19 May 2014 16:35:27 +0000 (17:35 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:44 +0000 (08:11 +0100)
Currently, MICVDD only binds because it is both the regulator name and
the consumer name and we will always match against the regulator name
regardless of the consumer device. If the regulator was renamed using
the init_data ASoC will no longer be able to locate the supply, as it
will be looking on the CODEC device where as the MICVDD consumer is on
the Arizona device. Add a mapping as we do for the other regulators.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c

index 07e6e27be23cbc178254c26dcf77031128eebf42..cfc191abae4a5d777c07e59fa26fd78ec4340287 100644 (file)
@@ -583,6 +583,7 @@ static const char *wm5102_supplies[] = {
        "CPVDD",
        "SPKVDDL",
        "SPKVDDR",
+       "MICVDD",
 };
 
 static const struct mfd_cell wm5102_devs[] = {