Re: [PATCH 2/2] mfd: arizona: Correct mask to allow setting micbias external cap
From: Lee Jones
Date: Wed Sep 24 2014 - 07:58:24 EST
On Wed, 24 Sep 2014, Charles Keepax wrote:
> Currently the mask for the external capacitor bit is missing when
> writing the MICBIAS config meaning it will never be set this patch fixes
> this.
>
> Signed-off-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/arizona-core.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
> diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
> index 72b3202..bce7c07 100644
> --- a/drivers/mfd/arizona-core.c
> +++ b/drivers/mfd/arizona-core.c
> @@ -947,6 +947,7 @@ int arizona_dev_init(struct arizona *arizona)
> regmap_update_bits(arizona->regmap,
> ARIZONA_MIC_BIAS_CTRL_1 + i,
> ARIZONA_MICB1_LVL_MASK |
> + ARIZONA_MICB1_EXT_CAP |
> ARIZONA_MICB1_DISCH |
> ARIZONA_MICB1_BYPASS |
> ARIZONA_MICB1_RATE, val);
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/