ASoC: Intel: avs: da7219: Remove suspend_pre() and resume_post()
authorMarek Maslanka <mmaslanka@google.com>
Thu, 28 Nov 2024 20:52:09 +0000 (20:52 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 2 Dec 2024 00:29:25 +0000 (00:29 +0000)
commit04c319e05d0b08cc789db7abccce0fcb13dbab16
treebd45a2cf580f997dacb44f1d84f132ec7554c304
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
ASoC: Intel: avs: da7219: Remove suspend_pre() and resume_post()

The presence of a plugged jack is not detected after resuming the device
if the jack was plugged before the device was suspended. This problem is
caused by calling the
sound/soc/codecs/da7219-aad.c:da7219_aad_jack_det() function on resume,
which forces the jack insertion state to be unplugged.

Signed-off-by: Marek Maslanka <mmaslanka@google.com>
Link: https://patch.msgid.link/20241128205215.2435485-1-mmaslanka@google.com
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/boards/da7219.c