All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@kernel.org>
Subject: Applied "ASoC: soc-utils: remove dummy Platform" to the asoc tree
Date: Wed, 19 Jun 2019 13:11:59 +0100 (BST)	[thread overview]
Message-ID: <20190619121159.089BE440049@finisterre.sirena.org.uk> (raw)
In-Reply-To: <878stytlu8.wl-kuninori.morimoto.gx@renesas.com>

The patch

   ASoC: soc-utils: remove dummy Platform

has been applied to the asoc tree at

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

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

>From 64ee5067cf64f948449201579d89829b5c693c16 Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date: Wed, 19 Jun 2019 10:19:44 +0900
Subject: [PATCH] ASoC: soc-utils: remove dummy Platform

ALSA SoC used 2 type of Platform if sound card doesn't need
Platform.

	1) use Dummy Platform as Platform component
	2) use CPU component  as Platform component

Now, ALSA SoC allows "no Platform" settings, and it will behave
same as 2) case selection. And, all sound card which doesn't need
specific Platform are now not selecting Platform any more.

This means, no sound card is using dummy Platform on ALSA SoC any
more. This patch removes unused dummy Platform.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/soc-utils.c | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index e3b9dd634c6d..f67e715a9f42 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -262,26 +262,6 @@ static const struct snd_pcm_hardware dummy_dma_hardware = {
 	.periods_max		= 128,
 };
 
-static int dummy_dma_open(struct snd_pcm_substream *substream)
-{
-	struct snd_soc_pcm_runtime *rtd = substream->private_data;
-
-	/* BE's dont need dummy params */
-	if (!rtd->dai_link->no_pcm)
-		snd_soc_set_runtime_hwparams(substream, &dummy_dma_hardware);
-
-	return 0;
-}
-
-static const struct snd_pcm_ops snd_dummy_dma_ops = {
-	.open		= dummy_dma_open,
-	.ioctl		= snd_pcm_lib_ioctl,
-};
-
-static const struct snd_soc_component_driver dummy_platform = {
-	.ops = &snd_dummy_dma_ops,
-};
-
 static const struct snd_soc_component_driver dummy_codec = {
 	.idle_bias_on		= 1,
 	.use_pmdown_time	= 1,
@@ -339,11 +319,6 @@ static int snd_soc_dummy_probe(struct platform_device *pdev)
 
 	ret = devm_snd_soc_register_component(&pdev->dev,
 					      &dummy_codec, &dummy_dai, 1);
-	if (ret < 0)
-		return ret;
-
-	ret = devm_snd_soc_register_component(&pdev->dev, &dummy_platform,
-					      NULL, 0);
 
 	return ret;
 }
-- 
2.20.1

      reply	other threads:[~2019-06-19 12:12 UTC|newest]

Thread overview: 109+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-19  1:13 [PATCH resend 00/47] ASoC: no Platform support Kuninori Morimoto
2019-06-19  1:14 ` [PATCH resend 01/47] ASoC: soc-core: allow no Platform on dai_link Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: soc-core: allow no Platform on dai_link" to the asoc tree Mark Brown
2019-06-19  1:14 ` [PATCH resend 02/47] ASoC: vc4: vc4_hdmi: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: vc4: vc4_hdmi: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:14 ` [PATCH resend 03/47] ASoC: atmel: atmel-classd: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: atmel: atmel-classd: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:14 ` [PATCH resend 04/47] ASoC: atmel: atmel-pdmic: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: atmel: atmel-pdmic: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:14 ` [PATCH resend 05/47] ASoC: atmel: atmel_wm8904: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: atmel: atmel_wm8904: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:14 ` [PATCH resend 05/47] ASoC: atmel: atmel_wm8904: don't select unnecessary Platform Kuninori Morimoto
2019-06-19  1:15 ` [PATCH resend 06/47] ASoC: atmel: mikroe-proto: " Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: atmel: mikroe-proto: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:15 ` [PATCH resend 07/47] ASoC: atmel: sam9g20_wm8731: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: atmel: sam9g20_wm8731: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:15 ` [PATCH resend 07/47] ASoC: atmel: sam9g20_wm8731: don't select unnecessary Platform Kuninori Morimoto
2019-06-19  1:16 ` [PATCH resend 08/47] ASoC: atmel: sam9x5_wm8731: " Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: atmel: sam9x5_wm8731: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:16 ` [PATCH resend 09/47] ASoC: atmel: tse850-pcm5142: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: atmel: tse850-pcm5142: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:16 ` [PATCH resend 10/47] ASoC: fsl: eukrea-tlv320: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: fsl: eukrea-tlv320: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:16 ` [PATCH resend 11/47] ASoC: fsl: fsl-asoc-card: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: fsl: fsl-asoc-card: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:16 ` [PATCH resend 12/47] ASoC: fsl: imx-es8328: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: fsl: imx-es8328: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:16 ` [PATCH resend 13/47] ASoC: fsl: imx-sgtl5000: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: fsl: imx-sgtl5000: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:17 ` [PATCH resend 14/47] ASoC: fsl: imx-spdif: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: fsl: imx-spdif: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:17 ` [PATCH resend 15/47] ASoC: fsl: imx-audmix: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: fsl: imx-audmix: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:17 ` [PATCH resend 16/47] ASoC: kirkwood: armada-370-db: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: kirkwood: armada-370-db: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:17 ` [PATCH resend 17/47] ASoC: mxs: mxs-sgtl5000: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: mxs: mxs-sgtl5000: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:17 ` [PATCH resend 18/47] ASoC: qcom: apq8016_sbc: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: qcom: apq8016_sbc: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:17 ` [PATCH resend 19/47] ASoC: qcom: storm: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: qcom: storm: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:17 ` [PATCH resend 20/47] ASoC: rockchip: rk3288_hdmi_analog: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: rockchip: rk3288_hdmi_analog: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:17 ` [PATCH resend 21/47] ASoC: rockchip: rockchip_max98090: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: rockchip: rockchip_max98090: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 22/47] ASoC: rockchip: rockchip_rt5645: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: rockchip: rockchip_rt5645: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 23/47] ASoC: samsung: arndale_rt5631: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: samsung: arndale_rt5631: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 24/47] ASoC: samsung: smdk_wm8994: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: samsung: smdk_wm8994: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 25/47] ASoC: samsung: snow: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: samsung: snow: don't select unnecessary Platform" to the asoc tree Mark Brown
     [not found]   ` <CGME20190624131905eucas1p2cf4335b4d1483b7e62d0c9e7b5223a3c@eucas1p2.samsung.com>
2019-06-24 13:19     ` [PATCH resend 25/47] ASoC: samsung: snow: don't select unnecessary Platform Marek Szyprowski
2019-06-25  0:51       ` Kuninori Morimoto
2019-06-25  5:36         ` Marek Szyprowski
2019-06-25  8:25           ` Kuninori Morimoto
2019-06-25  8:37             ` Marek Szyprowski
2019-06-25 23:44               ` Kuninori Morimoto
2019-06-26  1:15                 ` Kuninori Morimoto
2019-06-26  6:41                   ` Marek Szyprowski
2019-06-26  6:48                     ` Marek Szyprowski
2019-06-26  7:20                       ` Kuninori Morimoto
2019-06-27 12:44                       ` Marek Szyprowski
2019-06-27 23:53                         ` Kuninori Morimoto
2019-06-19  1:18 ` [PATCH resend 26/47] ASoC: samsung: tm2_wm5110: " Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: samsung: tm2_wm5110: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 27/47] ASoC: sirf: sirf-audio: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: sirf: sirf-audio: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 28/47] ASoC: sunxi: sun4i-codec: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: sunxi: sun4i-codec: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 29/47] ASoC: tegra: tegra_alc5632: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: tegra_alc5632: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 30/47] ASoC: tegra: tegra_max98090: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: tegra_max98090: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 31/47] ASoC: tegra: tegra_rt5640: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: tegra_rt5640: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 32/47] ASoC: tegra: tegra_rt5677: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: tegra_rt5677: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 33/47] ASoC: tegra: tegra_sgtl5000: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: tegra_sgtl5000: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 34/47] ASoC: tegra: tegra_wm8753: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: tegra_wm8753: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:18 ` [PATCH resend 35/47] ASoC: tegra: tegra_wm8903: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: tegra_wm8903: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 36/47] ASoC: tegra: tegra_wm9712: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: tegra_wm9712: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 37/47] ASoC: tegra: trimslice: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:12   ` Applied "ASoC: tegra: trimslice: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 38/47] ASoC: ti: davinci-evm: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: ti: davinci-evm: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 39/47] ASoC: ti: omap-abe-twl6040: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: ti: omap-abe-twl6040: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 40/47] ASoC: ti: omap-hdmi: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: ti: omap-hdmi: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 41/47] ASoC: ti: omap-twl4030: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: ti: omap-twl4030: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 42/47] ASoC: ti: rx51: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: ti: rx51: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 43/47] ASoC: ux500: mop500: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: ux500: mop500: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 44/47] ASoC: simple-card-utils: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: simple-card-utils: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 45/47] ASoC: qcom: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: qcom: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 46/47] ASoC: rockchip: rk3399_gru_sound: don't select unnecessary Platform Kuninori Morimoto
2019-06-19 12:11   ` Applied "ASoC: rockchip: rk3399_gru_sound: don't select unnecessary Platform" to the asoc tree Mark Brown
2019-06-19  1:19 ` [PATCH resend 47/47] ASoC: soc-utils: remove dummy Platform Kuninori Morimoto
2019-06-19 12:11   ` Mark Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190619121159.089BE440049@finisterre.sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.