Blob Blame History Raw
From f6201a314fc780bda83ffc5338c7bc0326749e84 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Tue, 10 Dec 2019 15:53:48 +0100
Subject: [PATCH] ASoC: dwc: Drop superfluous ioctl PCM ops
Git-commit: f6201a314fc780bda83ffc5338c7bc0326749e84
Patch-mainline: v5.6-rc1
References: jsc#SLE-16518

ASoC PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210145406.21419-6-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>

---
 sound/soc/dwc/dwc-pcm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/dwc/dwc-pcm.c b/sound/soc/dwc/dwc-pcm.c
index 4771eb5fbe2a..bf36c1d29642 100644
--- a/sound/soc/dwc/dwc-pcm.c
+++ b/sound/soc/dwc/dwc-pcm.c
@@ -271,7 +271,6 @@ static void dw_pcm_free(struct snd_soc_component *component,
 static const struct snd_soc_component_driver dw_pcm_component = {
 	.open		= dw_pcm_open,
 	.close		= dw_pcm_close,
-	.ioctl		= snd_soc_pcm_lib_ioctl,
 	.hw_params	= dw_pcm_hw_params,
 	.hw_free	= dw_pcm_hw_free,
 	.trigger	= dw_pcm_trigger,
-- 
2.16.4