[PATCH 0/6] ASoC: remove unnecessary dai_link->platform

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

 



Hi Mark

Current ASoC will ignore already connected component when binding Card.
This will happen mainly "CPU Component" is handled as "Platform Component",
which was needed before.

	static int snd_soc_rtd_add_component(...)
	{
		...
		for_each_rtd_components(rtd, i, comp) {
			/* already connected */
			if (comp == component)
				return 0;
		}
		...
	}

Some drivers are still using CPU or Dummy Component as Platform Component,
but these are no meaning or ignored.
This patch-set remove these.

Kuninori Morimoto (6):
  ASoC: fsl: remove unnecessary dai_link->platform
  ASoC: atmel: remove unnecessary dai_link->platform
  ASoC: ti: remove unnecessary dai_link->platform
  ASoC: soc-topology.c: remove unnecessary dai_link->platform
  ASoC: simple-card-utils.c: remove unnecessary dai_link->platform
  ASoC: simple-card.c: add missing of_node_put()

 include/sound/simple_card_utils.h     |  2 --
 sound/soc/atmel/atmel-classd.c        |  5 +---
 sound/soc/atmel/atmel-pdmic.c         |  5 +---
 sound/soc/fsl/imx-audmix.c            | 14 +++------
 sound/soc/fsl/imx-spdif.c             |  5 +---
 sound/soc/generic/audio-graph-card.c  |  6 ----
 sound/soc/generic/audio-graph-card2.c |  9 ++----
 sound/soc/generic/simple-card-utils.c |  9 ------
 sound/soc/generic/simple-card.c       | 41 ++++++++++++++++-----------
 sound/soc/soc-topology.c              |  8 ++----
 sound/soc/ti/omap-hdmi.c              |  5 +---
 11 files changed, 36 insertions(+), 73 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