ASoC: Intel: avs: rt5682: Refactor jack handling
authorMark Brown <broonie@kernel.org>
Tue, 29 Nov 2022 19:29:05 +0000 (19:29 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 29 Nov 2022 19:29:05 +0000 (19:29 +0000)
commit93d519a12a83baa19dae59d121439b04fb9dfded
treea8c213269b46289dc4282b130ef58c9545812f39
parent97b801be6f8e53676b9f2b105f54e35c745c1b22
parenta9d8723c72eada2e303e16a3c81d43bc802fbc6d
ASoC: Intel: avs: rt5682: Refactor jack handling

Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:

Leftover from recent series [1].
Following changes are proposed for the rt5682 sound card driver:

1) Move jack unassignment from platform_device->remove() to
   dai_link->exit(). This is done to make jack init and deinit flows
   symmetric
2) Remove platform_device->remove() function
3) Simplify card->suspend_pre() and card->resume_post() by making use of
   snd_soc_card_get_codec_dai() helper