]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8b4cc3b84322c414f590c4c8b00b1e9b37d2f0e
tree59f3dbda933d0449cf09beb045544d902f5a1b07
parent8cd2b40dad6f118d7287346f538ebda48662ad53
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