]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: Modify existing helper to disable WAKEEN
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 12 Jan 2021 18:11:24 +0000 (02:11 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 13 Jan 2021 15:24:06 +0000 (15:24 +0000)
commitdeee3f1062e41d041db49244ffdac6cd8b2a6a22
tree4965560ece09925d950ab471504e971079c3ce91
parentea5283a144b8694e049f3388452ac6383970e00b
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>
sound/soc/sof/intel/hda-codec.c
sound/soc/sof/intel/hda-dsp.c
sound/soc/sof/intel/hda.h