ASoC: jack - check status of GPIO-based pins on resume
authorDmitry Torokhov <dtor@chromium.org>
Tue, 21 Mar 2017 23:50:43 +0000 (16:50 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 24 Mar 2017 18:52:32 +0000 (18:52 +0000)
commit73548dd316adec41172c31d63a0c35a97bf9577f
tree59f3dbda933d0449cf09beb045544d902f5a1b07
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: jack - check status of GPIO-based pins on resume

For GPIO-backed pins that are not configured as wakeup sources, we may
miss change in their state that happens while system is suspended. Let's
use PM notifier to refresh their state upon resume.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-jack.c