diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2015-08-27 09:14:51 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-27 21:17:40 +0200 |
commit | f2988afedf2c19880a3c65d79dfc7939e1b53d8a (patch) | |
tree | f5d9514dfdf29ecb83079ac2096418a47ac2095a /include/sound | |
parent | ASoC: rt5645: Add the register RT5645_CHARGE_PUMP to readable check function (diff) | |
download | linux-f2988afedf2c19880a3c65d79dfc7939e1b53d8a.tar.xz linux-f2988afedf2c19880a3c65d79dfc7939e1b53d8a.zip |
ASoC: rt5645: Prevent the pop sound of the headphone while rebooting or shutdowning
Add i2c shutdown function to prevent the pop sound of the headphone while
the system is rebooting or shutdowning. It de-initials the jack detection
function, and it cannot be turned off in _BIAS_OFF. If we don't de-initial
it, the pop sound will be heard in the situation of powering off. And
replace the related register settings from magic number to meaningful
defined name.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions