ASoC: Intel: avs: Refactor jack handling
authorMark Brown <broonie@kernel.org>
Tue, 29 Nov 2022 16:56:44 +0000 (16:56 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 29 Nov 2022 16:56:44 +0000 (16:56 +0000)
commitf4f473f8392534a027f1db5f887ac01a9f0e8905
treead4d225596cce4c3e4bee90f0af0d4ed61ca20a2
parente8679db2970f04ee5281c042977fff880a3c045a
parent28baae9bfc1fb9fdaff2e8bd328b2a5b12a14273
ASoC: Intel: avs: Refactor jack handling

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

For all the boards included in this patchset, a similar set of changes
is proposed:

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

While bdw_rt286 board - which is utilized by the catpt-driver - is
definitely not part of "avs", same treatment applies. And thus decided
to make it part of this series instead of sending it separately.