diff options
| author | Dr. David Alan Gilbert <linux@treblig.org> | 2025-05-03 00:52:16 +0100 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-05-05 12:36:29 +0200 |
| commit | a5f2dd266c0b5b706ebc39d64c1caaec636f8fbf (patch) | |
| tree | 761de86478d6db676a065b1734502847284e21e3 /sound/core | |
| parent | ALSA: pcm: Remove unused snd_pcm_rate_range_to_bits (diff) | |
| download | linux-a5f2dd266c0b5b706ebc39d64c1caaec636f8fbf.tar.gz linux-a5f2dd266c0b5b706ebc39d64c1caaec636f8fbf.zip | |
ALSA: pcm: Remove unused snd_dmaengine_pcm_open_request_chan
snd_dmaengine_pcm_open_request_chan() last use was removed in 2022's
commit b401d1fd8053 ("ASoC: pxa: remove unused board support")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250502235219.1000429-3-linux@treblig.org
Diffstat (limited to 'sound/core')
| -rw-r--r-- | sound/core/pcm_dmaengine.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sound/core/pcm_dmaengine.c b/sound/core/pcm_dmaengine.c index b134a51b3fd5..72040964b6fd 100644 --- a/sound/core/pcm_dmaengine.c +++ b/sound/core/pcm_dmaengine.c @@ -328,27 +328,6 @@ int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, } EXPORT_SYMBOL_GPL(snd_dmaengine_pcm_open); -/** - * snd_dmaengine_pcm_open_request_chan - Open a dmaengine based PCM substream and request channel - * @substream: PCM substream - * @filter_fn: Filter function used to request the DMA channel - * @filter_data: Data passed to the DMA filter function - * - * This function will request a DMA channel using the passed filter function and - * data. The function should usually be called from the pcm open callback. Note - * that this function will use private_data field of the substream's runtime. So - * it is not available to your pcm driver implementation. - * - * Return: 0 on success, a negative error code otherwise - */ -int snd_dmaengine_pcm_open_request_chan(struct snd_pcm_substream *substream, - dma_filter_fn filter_fn, void *filter_data) -{ - return snd_dmaengine_pcm_open(substream, - snd_dmaengine_pcm_request_channel(filter_fn, filter_data)); -} -EXPORT_SYMBOL_GPL(snd_dmaengine_pcm_open_request_chan); - int snd_dmaengine_pcm_sync_stop(struct snd_pcm_substream *substream) { struct dmaengine_pcm_runtime_data *prtd = substream_to_prtd(substream); |
