projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e9e68
)
soundwire: intel: don't free dma_data in DAI shutdown
author
Pierre-Louis Bossart
<pierre-louis.bossart@linux.intel.com>
Tue, 30 Jun 2020 18:43:56 +0000
(
02:43
+0800)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 15 Jul 2020 04:40:05 +0000
(10:10 +0530)
Now that the DMA data is allocated/freed in set_sdw_stream(), remove
free operations.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link:
https://lore.kernel.org/r/20200630184356.24939-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c
patch
|
blob
|
history
diff --git
a/drivers/soundwire/intel.c
b/drivers/soundwire/intel.c
index
2e1e108
..
7a65414
100644
(file)
--- a/
drivers/soundwire/intel.c
+++ b/
drivers/soundwire/intel.c
@@
-806,14
+806,7
@@
intel_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai)
static void intel_shutdown(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai)
{
- struct sdw_cdns_dma_data *dma;
-
- dma = snd_soc_dai_get_dma_data(dai, substream);
- if (!dma)
- return;
- snd_soc_dai_set_dma_data(dai, substream, NULL);
- kfree(dma);
}
static int intel_pcm_set_sdw_stream(struct snd_soc_dai *dai,