25 Aug
2015
25 Aug
'15
7:57 p.m.
On Mon, Aug 24, 2015 at 08:32:55PM +0800, Oder Chiou wrote:
Add i2c shutdown function to prevent the pop sound of the headphone while the system is rebooting or shutdowning
- regmap_update_bits(rt5645->regmap, RT5645_GEN_CTRL3, 0x0020, 0x0020);
- regmap_update_bits(rt5645->regmap, RT5645_IN1_CTRL2, 0x1000, 0x1000);
- regmap_update_bits(rt5645->regmap, RT5645_IN1_CTRL1, 0x0004, 0x0000);
Yay, magic numbers! What is the issue this is fixing? The core is supposed to power everything down to _BIAS_OFF before exiting, are we missing something here?