mbox series

[00/12] ASoC: Intel: avs: remove redundant dapm routes

Message ID 20230612110958.592674-1-brent.lu@intel.com (mailing list archive)
Headers show
Series ASoC: Intel: avs: remove redundant dapm routes | expand

Message

Brent Lu June 12, 2023, 11:09 a.m. UTC
This patch series remove redundant dapm routes declared in multiple machine
drivers. These routes will be created by snd_soc_dapm_connect_dai_link_widgets()
during soundcard initialization. Following is the kernel log from a KBL
chromebook nocturne.

dmic:
[   13.773455] avs_dmic avs_dmic: connected DAI link dmic-codec:Capture -> dmic-platform:DMIC Rx
[   13.773460] avs_dmic avs_dmic: connected DAI link dmic-codec:Capture -> dmic-platform:DMIC WoV Rx

max98373:
[   14.079536] avs_max98373 avs_max98373.1: connected DAI link avs_max98373.1-platform:ssp0 Tx -> i2c-MX98373:00:Right HiFi Playback
[   14.079545] avs_max98373 avs_max98373.1: connected DAI link i2c-MX98373:00:Right HiFi Capture -> avs_max98373.1-platform:ssp0 Rx
[   14.079550] avs_max98373 avs_max98373.1: connected DAI link avs_max98373.1-platform:ssp0 Tx -> i2c-MX98373:01:Left HiFi Playback
[   14.079554] avs_max98373 avs_max98373.1: connected DAI link i2c-MX98373:01:Left HiFi Capture -> avs_max98373.1-platform:ssp0 Rx

hdaudio:
[   14.094818] avs_hdaudio avs_hdaudio.2: connected DAI link hdaudioB0D2-platform:hdaudioB0D2-cpu0 Tx -> hdaudioB0D2:HDMI 0 Playback
[   14.094824] avs_hdaudio avs_hdaudio.2: connected DAI link hdaudioB0D2-platform:hdaudioB0D2-cpu1 Tx -> hdaudioB0D2:HDMI 1 Playback
[   14.094828] avs_hdaudio avs_hdaudio.2: connected DAI link hdaudioB0D2-platform:hdaudioB0D2-cpu2 Tx -> hdaudioB0D2:HDMI 2 Playback


Brent Lu (12):
  ASoC: Intel: avs-da7219: remove redundant dapm routes
  ASoC: Intel: avs-dmic: remove redundant dapm routes
  ASoC: Intel: avs-hdaudio: remove redundant dapm routes
  ASoC: Intel: avs-max98357a: remove redundant dapm routes
  ASoC: Intel: avs-max98373: remove redundant dapm routes
  ASoC: Intel: avs-max98927: remove redundant dapm routes
  ASoC: Intel: avs-nau8825: remove redundant dapm routes
  ASoC: Intel: avs-rt274: remove redundant dapm routes
  ASoC: Intel: avs-rt286: remove redundant dapm routes
  ASoC: Intel: avs-rt298: remove redundant dapm routes
  ASoC: Intel: avs-rt5682: remove redundant dapm routes
  ASoC: Intel: avs-ssm4567: remove redundant dapm routes

 sound/soc/intel/avs/boards/da7219.c    | 45 ++----------------
 sound/soc/intel/avs/boards/dmic.c      |  2 -
 sound/soc/intel/avs/boards/hdaudio.c   | 65 +-------------------------
 sound/soc/intel/avs/boards/max98357a.c | 39 ++--------------
 sound/soc/intel/avs/boards/max98373.c  | 45 ++----------------
 sound/soc/intel/avs/boards/max98927.c  | 45 ++----------------
 sound/soc/intel/avs/boards/nau8825.c   | 45 ++----------------
 sound/soc/intel/avs/boards/rt274.c     | 45 ++----------------
 sound/soc/intel/avs/boards/rt286.c     | 45 ++----------------
 sound/soc/intel/avs/boards/rt298.c     | 45 ++----------------
 sound/soc/intel/avs/boards/rt5682.c    | 45 ++----------------
 sound/soc/intel/avs/boards/ssm4567.c   | 57 ++--------------------
 12 files changed, 31 insertions(+), 492 deletions(-)

Comments

Mark Brown June 12, 2023, 5:35 p.m. UTC | #1
On Mon, 12 Jun 2023 19:09:46 +0800, Brent Lu wrote:
> This patch series remove redundant dapm routes declared in multiple machine
> drivers. These routes will be created by snd_soc_dapm_connect_dai_link_widgets()
> during soundcard initialization. Following is the kernel log from a KBL
> chromebook nocturne.
> 
> dmic:
> [   13.773455] avs_dmic avs_dmic: connected DAI link dmic-codec:Capture -> dmic-platform:DMIC Rx
> [   13.773460] avs_dmic avs_dmic: connected DAI link dmic-codec:Capture -> dmic-platform:DMIC WoV Rx
> 
> [...]

Applied to

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

Thanks!

[01/12] ASoC: Intel: avs-da7219: remove redundant dapm routes
        commit: 530ca0a7ed04230408775b495034941346ea5db1
[02/12] ASoC: Intel: avs-dmic: remove redundant dapm routes
        commit: c2076f4fa4f15559ed7e568186c4089479a62154
[03/12] ASoC: Intel: avs-hdaudio: remove redundant dapm routes
        commit: 12ea56d73c548929ef1a498848905b04bfe85f90
[04/12] ASoC: Intel: avs-max98357a: remove redundant dapm routes
        commit: d48e3cd5aaecd7769b073f65bb95004a54bc76e6
[05/12] ASoC: Intel: avs-max98373: remove redundant dapm routes
        commit: b4df7ce9905b1e8cb84ee247ca7db6ae004bc508
[06/12] ASoC: Intel: avs-max98927: remove redundant dapm routes
        commit: 9868ca64fd7a87cf997040452519b07e47a8d008
[07/12] ASoC: Intel: avs-nau8825: remove redundant dapm routes
        commit: ae7d66822de5aeaf991eda96c823ee9dffebfe46
[08/12] ASoC: Intel: avs-rt274: remove redundant dapm routes
        commit: 6227269fb375af2ff239a68499856abfd6a2bceb
[09/12] ASoC: Intel: avs-rt286: remove redundant dapm routes
        commit: cca1ac1f097afa7ad6e587d6f1e86fd738ede508
[10/12] ASoC: Intel: avs-rt298: remove redundant dapm routes
        commit: eae0655316a5d741ab27c7b3a67a55b0af970e19
[11/12] ASoC: Intel: avs-rt5682: remove redundant dapm routes
        commit: 96b5452fe43c23451050b3efa5197bd10dce9bc6
[12/12] ASoC: Intel: avs-ssm4567: remove redundant dapm routes
        commit: 51bdf6ebe5b7da8d1b86cf66fe7e21de353e5218

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