summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-05-19 17:35:27 +0100
committerLee Jones <lee.jones@linaro.org>2014-06-03 08:11:44 +0100
commit058c89019ff029ca0ac45d94397c4d979c93cf4a (patch)
tree64d7955953124664f0f7431f1bb36a6caab34401
parent165b1cb15591e1e7f7769b8e1c32a0aae7918fb4 (diff)
downloadlwn-058c89019ff029ca0ac45d94397c4d979c93cf4a.tar.gz
lwn-058c89019ff029ca0ac45d94397c4d979c93cf4a.zip
mfd: arizona: Add MICVDD to mapped regulators
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>
-rw-r--r--drivers/mfd/arizona-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
index 07e6e27be23c..cfc191abae4a 100644
--- a/drivers/mfd/arizona-core.c
+++ b/drivers/mfd/arizona-core.c
@@ -583,6 +583,7 @@ static const char *wm5102_supplies[] = {
"CPVDD",
"SPKVDDL",
"SPKVDDR",
+ "MICVDD",
};
static const struct mfd_cell wm5102_devs[] = {