From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: Takashi Iwai <tiwai@suse.de>, alsa-devel@alsa-project.org
Subject: [alsa-devel] [PATCH for-5.6 23/23] ASoC: Drop snd_soc_pcm_lib_ioctl()
Date: Tue, 10 Dec 2019 15:54:06 +0100 [thread overview]
Message-ID: <20191210145406.21419-24-tiwai@suse.de> (raw)
In-Reply-To: <20191210145406.21419-1-tiwai@suse.de>
Now all snd_soc_pcm_lib_ioctl() calls were dropped, and it became
superfluous. Let's kill it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
include/sound/soc.h | 5 -----
sound/soc/soc-core.c | 12 ------------
2 files changed, 17 deletions(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index c28a1ed5e8df..66648f0e3a87 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1408,11 +1408,6 @@ static inline void snd_soc_dapm_mutex_unlock(struct snd_soc_dapm_context *dapm)
mutex_unlock(&dapm->card->dapm_mutex);
}
-/* bypass */
-int snd_soc_pcm_lib_ioctl(struct snd_soc_component *component,
- struct snd_pcm_substream *substream,
- unsigned int cmd, void *arg);
-
#include <sound/soc-component.h>
#endif
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 062653ab03a3..0e33edf79f39 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -277,18 +277,6 @@ static inline void snd_soc_debugfs_exit(void)
#endif
-/*
- * This is glue code between snd_pcm_lib_ioctl() and
- * snd_soc_component_driver :: ioctl
- */
-int snd_soc_pcm_lib_ioctl(struct snd_soc_component *component,
- struct snd_pcm_substream *substream,
- unsigned int cmd, void *arg)
-{
- return snd_pcm_lib_ioctl(substream, cmd, arg);
-}
-EXPORT_SYMBOL_GPL(snd_soc_pcm_lib_ioctl);
-
static int snd_soc_rtdcom_add(struct snd_soc_pcm_runtime *rtd,
struct snd_soc_component *component)
{
--
2.16.4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2019-12-10 15:16 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-10 14:53 [alsa-devel] [PATCH for-5.6 00/23] ASoC: PCM API updates (part II) Takashi Iwai
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 01/23] ASoC: amd: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: amd: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 02/23] ASoC: atmel: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-10 15:13 ` Alexandre Belloni
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: atmel: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 03/23] ASoC: au1x: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: au1x: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 04/23] ASoC: bcm: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: bcm: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 05/23] ASoC: dwc: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: dwc: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 06/23] ASoC: fsl: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-10 21:47 ` Nicolin Chen
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: fsl: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 07/23] ASoC: intel: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: intel: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 08/23] ASoC: kirkwood: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: kirkwood: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 09/23] ASoC: mediatek: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: mediatek: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 10/23] ASoC: meson: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 9:45 ` Jerome Brunet
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: meson: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 11/23] ASoC: pxa: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: pxa: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 12/23] ASoC: qcom: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: qcom: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 13/23] ASoC: samsung: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: samsung: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 14/23] ASoC: sh: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:34 ` Mark Brown
2019-12-11 16:51 ` Takashi Iwai
2019-12-11 16:57 ` Mark Brown
2019-12-11 17:04 ` Takashi Iwai
2019-12-11 17:10 ` Mark Brown
2019-12-11 17:13 ` Takashi Iwai
2019-12-11 16:53 ` [alsa-devel] Applied "ASoC: sh: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 15/23] ASoC: generic-dmaengine: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: generic-dmaengine: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:53 ` [alsa-devel] [PATCH for-5.6 16/23] ASoC: SOF: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: SOF: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:54 ` [alsa-devel] [PATCH for-5.6 17/23] ASoC: sprd: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 0:21 ` Orson Zhai
2019-12-11 1:38 ` Baolin Wang
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: sprd: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:54 ` [alsa-devel] [PATCH for-5.6 18/23] ASoC: txx9: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: txx9: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:54 ` [alsa-devel] [PATCH for-5.6 19/23] ASoC: uniphier: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:34 ` Mark Brown
2019-12-11 16:53 ` [alsa-devel] Applied "ASoC: uniphier: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:54 ` [alsa-devel] [PATCH for-5.6 20/23] ASoC: xilinx: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: xilinx: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:54 ` [alsa-devel] [PATCH for-5.6 21/23] ASoC: xtensa: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: xtensa: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:54 ` [alsa-devel] [PATCH for-5.6 22/23] ASoC: utils: Drop superfluous ioctl PCM ops Takashi Iwai
2019-12-11 16:54 ` [alsa-devel] Applied "ASoC: utils: Drop superfluous ioctl PCM ops" to the asoc tree Mark Brown
2019-12-10 14:54 ` Takashi Iwai [this message]
2019-12-11 16:53 ` [alsa-devel] Applied "ASoC: Drop snd_soc_pcm_lib_ioctl()" " Mark Brown
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=20191210145406.21419-24-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).