OSDN Git Service

ASoC: ts3a227e: Check and report jack status at probe
authorCheng-Yi Chiang <cychiang@chromium.org>
Mon, 5 Jan 2015 11:26:59 +0000 (19:26 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 5 Jan 2015 15:29:51 +0000 (15:29 +0000)
commit8e3e36e87c9e624a30d31c576b839eed3ac8abf4
treea3887e4beda3c5ed7db3b801f03fbf0f2acbb4f0
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
ASoC: ts3a227e: Check and report jack status at probe

ts3a227e does not trigger interrupt to report jack status when system
boots from warm reset because ts3a227e's power remains on during warm reset.
Read jack status at probe to get current jack status.
Note that if system boots from EC reset, then this issue will not
happen.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ts3a227e.c