From: Mark Brown Date: Tue, 29 Nov 2022 19:29:05 +0000 (+0000) Subject: ASoC: Intel: avs: rt5682: Refactor jack handling X-Git-Tag: v6.6.7~3823^2^2~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93d519a12a83baa19dae59d121439b04fb9dfded;p=platform%2Fkernel%2Flinux-starfive.git ASoC: Intel: avs: rt5682: Refactor jack handling Merge series from Cezary Rojewski : 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 --- 93d519a12a83baa19dae59d121439b04fb9dfded