summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/arizona-core.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-05-21 14:56:58 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-21 12:41:54 -0500
commitf773fc6dca4619bdf8da767eaba101a83b766059 (patch)
tree51a3eef199e3dcd60e3322bb68438e200b1267a4 /drivers/mfd/arizona-core.c
parent5927467d0ca274bc3b8eed9fd5db964bbde56e1c (diff)
downloadop-kernel-dev-f773fc6dca4619bdf8da767eaba101a83b766059.zip
op-kernel-dev-f773fc6dca4619bdf8da767eaba101a83b766059.tar.gz
mfd: arizona: Change fast_start pdata name to better reflect functionality
The bit in the register enables MICBIAS fast startup when clear not when set. This patch changes the name of this pdata option to soft_start to better match the functionality. We rename rather than invert the handling to keep the same default functionality, which is fast start active. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mfd/arizona-core.c')
-rw-r--r--drivers/mfd/arizona-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
index 437f199..74b4481 100644
--- a/drivers/mfd/arizona-core.c
+++ b/drivers/mfd/arizona-core.c
@@ -860,7 +860,7 @@ int arizona_dev_init(struct arizona *arizona)
if (arizona->pdata.micbias[i].discharge)
val |= ARIZONA_MICB1_DISCH;
- if (arizona->pdata.micbias[i].fast_start)
+ if (arizona->pdata.micbias[i].soft_start)
val |= ARIZONA_MICB1_RATE;
if (arizona->pdata.micbias[i].bypass)
OpenPOWER on IntegriCloud