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
Changes in v2: - fixed compilation of the first patch in the series by moving offending pieces to the second patch
[1]: https://lore.kernel.org/alsa-devel/20221125184032.2565979-1-cezary.rojewski@...
Amadeusz Sławiński (2): ASoC: Intel: avs: rt5682: Add define for codec DAI name ASoC: Intel: avs: rt5682: Refactor jack handling
sound/soc/intel/avs/boards/rt5682.c | 31 ++++++++++++----------------- 1 file changed, 13 insertions(+), 18 deletions(-)