mbox series

[00/11] ASoC: Intel: avs: Refactor jack handling

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

Message

Cezary Rojewski Nov. 25, 2022, 6:40 p.m. UTC
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.

Amadeusz Sławiński (10):
  ASoC: Intel: avs: da7219: Refactor jack handling
  ASoC: Intel: avs: nau8825: Refactor jack handling
  ASoC: Intel: avs: rt274: Refer to DAI name through a constant
  ASoC: Intel: avs: rt274: Refactor jack handling
  ASoC: Intel: avs: rt286: Add define for codec DAI name
  ASoC: Intel: avs: rt286: Refactor jack handling
  ASoC: Intel: avs: rt298: Add define for codec DAI name
  ASoC: Intel: avs: rt298: Refactor jack handling
  ASoC: Intel: avs: rt5682: Add define for codec DAI name
  ASoC: Intel: avs: rt5682: Refactor jack handling

Cezary Rojewski (1):
  ASoC: Intel: bdw_rt286: Refactor jack handling

 sound/soc/intel/avs/boards/da7219.c  | 34 +++++++----------
 sound/soc/intel/avs/boards/nau8825.c | 35 ++++++------------
 sound/soc/intel/avs/boards/rt274.c   | 30 ++++++---------
 sound/soc/intel/avs/boards/rt286.c   | 37 ++++++++-----------
 sound/soc/intel/avs/boards/rt298.c   | 37 ++++++++-----------
 sound/soc/intel/avs/boards/rt5682.c  | 31 +++++++---------
 sound/soc/intel/boards/bdw_rt286.c   | 55 ++++++++--------------------
 7 files changed, 95 insertions(+), 164 deletions(-)

Comments

Mark Brown Nov. 29, 2022, 4:57 p.m. UTC | #1
On Fri, 25 Nov 2022 19:40:21 +0100, Cezary Rojewski wrote:
> 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
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[01/11] ASoC: Intel: bdw_rt286: Refactor jack handling
        commit: d60a197e50eca5017076b3867c1a49cb5118d597
[02/11] ASoC: Intel: avs: da7219: Refactor jack handling
        commit: 833e250ef592c3c02dda400c1c44306f74241d33
[03/11] ASoC: Intel: avs: nau8825: Refactor jack handling
        commit: 9febcd7a0180b1ea5b49cda1838aef49ef936805
[04/11] ASoC: Intel: avs: rt274: Refer to DAI name through a constant
        commit: 58391e7ca04be3960579a51d9a47d0fbc1b1607e
[05/11] ASoC: Intel: avs: rt274: Refactor jack handling
        commit: a08797afc1f9792b16356f59ba047114dd06a25e
[06/11] ASoC: Intel: avs: rt286: Add define for codec DAI name
        commit: af8ced412d6ee680faca06700fa784bbef6de702
[07/11] ASoC: Intel: avs: rt286: Refactor jack handling
        commit: 2f292443b4c88ccd469e724d022c669349abcbb5
[08/11] ASoC: Intel: avs: rt298: Add define for codec DAI name
        commit: 1fa675a00a5028f4f49bd19eaab016ea2d765ba8
[09/11] ASoC: Intel: avs: rt298: Refactor jack handling
        commit: 28baae9bfc1fb9fdaff2e8bd328b2a5b12a14273
[10/11] ASoC: Intel: avs: rt5682: Add define for codec DAI name
        (no commit info)
[11/11] ASoC: Intel: avs: rt5682: Refactor jack handling
        (no commit info)

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark