ASoC: SOF: Intel: hda: Modify existing helper to disable WAKEEN

Modify hda_codec_jack_wake_enable() to also support disable WAKEEN.
In addition, this patch also moves the WAKEEN disablement call out of
hda_codec_jack_check() into hda_codec_jack_wake_enable().

This is a preparation for next patch.

No functional change intended.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20210112181128.1229827-2-kai.heng.feng@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kai-Heng Feng 2021-01-13 02:11:24 +08:00 • committed by Mark Brown
commit 31ba0c0776
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 12 additions and 12 deletions