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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/

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

-- 
2.25.1




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux