mbox series

[v2,0/2] ASoC: Intel: avs: rt5682: Refactor jack handling

Message ID 20221129180738.2866290-1-cezary.rojewski@intel.com
Headers show
Series ASoC: Intel: avs: rt5682: Refactor jack handling | expand

Message

Cezary Rojewski Nov. 29, 2022, 6:07 p.m. UTC
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@intel.com/

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(-)