diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-28 17:18:43 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-30 18:04:36 +0300 |
commit | f211f5f606335d75c3b346e03bceb9b10261b6b3 (patch) | |
tree | fff5ef1e3573225817e6ce0a7a4cb697d3aeb809 /sound/soc/amd/raven | |
parent | ff6c95d251617f5b2eb1e7ea1d32d51a162e6a01 (diff) | |
download | linux-f211f5f606335d75c3b346e03bceb9b10261b6b3.tar.xz |
ASoC: amd: Drop superfluous mmap callbacks
All ASoC AMD drivers just call the standard mmap handler, hence those
are superfluous. Let's drop them.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20210728141843.17685-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/raven')
-rw-r--r-- | sound/soc/amd/raven/acp3x-pcm-dma.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/amd/raven/acp3x-pcm-dma.c b/sound/soc/amd/raven/acp3x-pcm-dma.c index 95e5fa636b0a..4522d7ec22e7 100644 --- a/sound/soc/amd/raven/acp3x-pcm-dma.c +++ b/sound/soc/amd/raven/acp3x-pcm-dma.c @@ -320,13 +320,6 @@ static int acp3x_dma_new(struct snd_soc_component *component, return 0; } -static int acp3x_dma_mmap(struct snd_soc_component *component, - struct snd_pcm_substream *substream, - struct vm_area_struct *vma) -{ - return snd_pcm_lib_default_mmap(substream, vma); -} - static int acp3x_dma_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) { @@ -370,7 +363,6 @@ static const struct snd_soc_component_driver acp3x_i2s_component = { .close = acp3x_dma_close, .hw_params = acp3x_dma_hw_params, .pointer = acp3x_dma_pointer, - .mmap = acp3x_dma_mmap, .pcm_construct = acp3x_dma_new, }; |