]> 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)
commit453cf8ad19ac2758e558b3d2e557e8296f733b1b
tree59f3dbda933d0449cf09beb045544d902f5a1b07
parent88fa2f7f38b4d2643a48b85595412833244accde
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