ASoC: rt5514: Voice wakeup support.
authoroder_chiou@realtek.com <oder_chiou@realtek.com>
Wed, 8 Nov 2017 07:04:21 +0000 (15:04 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 8 Nov 2017 21:29:05 +0000 (21:29 +0000)
commit58f1c07d23cddbc4c8aa99a214934eb7d33e8523
tree0f5852e326cc2af1e2b17dd25969529ce3ec9528
parentc4a71ff78e668a75a4a3cfd9ebbfbd5cbe8da5fb
ASoC: rt5514: Voice wakeup support.

If the rt5514 Wake on Voice device is opened while suspended, it will
be able to wake up the system when a voice command is detected.
This patch also supports user-space policy to override wakeup behavior
by /sys/bus/spi/drivers/rt5514/spi2.0/power/wakeup.

Signed-off-by: Chinyue Chen <chinyue@chromium.org>
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5514-spi.c