mfd: arizona: Unconditionally enable 32kHz clock
If we have a directly provided 32kHz clock unconditionally enable it, substantial chip functionality relies on it so dynamic management is not worthwhile. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Родитель
247fa1920d
Коммит
767c6dc032
|
@ -518,6 +518,7 @@ int arizona_dev_init(struct arizona *arizona)
|
||||||
regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1,
|
regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1,
|
||||||
ARIZONA_CLK_32K_SRC_MASK,
|
ARIZONA_CLK_32K_SRC_MASK,
|
||||||
arizona->pdata.clk32k_src - 1);
|
arizona->pdata.clk32k_src - 1);
|
||||||
|
arizona_clk32k_enable(arizona);
|
||||||
break;
|
break;
|
||||||
case ARIZONA_32KZ_NONE:
|
case ARIZONA_32KZ_NONE:
|
||||||
regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1,
|
regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче