ASoC: rt5645: Restore HP depop setting in HP off
authorBard Liao <bardliao@realtek.com>
Fri, 27 Mar 2015 12:19:09 +0000 (20:19 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2015 16:48:57 +0000 (09:48 -0700)
commit373225510f9608150a18b3491e756fbf3f58ff24
tree8116c0b93202b8ab5643cffe4c8417291448cb30
parent1b5d0160e8f17db0714016a2550d3b1d65c70c3e
ASoC: rt5645: Restore HP depop setting in HP off

This driver will set RT5645_DEPOP_MAN bit in headphone power up
depop process. We need to restore it in headphone power down
process. Otherwise, we will get headphone noise when push button
function is enabled.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c