OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95325ab
)
ASoC: amd: fix kernel warning
author
Vijendar Mukunda
<Vijendar.Mukunda@amd.com>
Tue, 19 May 2020 14:34:20 +0000
(22:34 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 19 May 2020 18:49:53 +0000
(19:49 +0100)
Removed unused variable from code to fix the kernel warning.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link:
https://lore.kernel.org/r/20200519143422.18255-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/renoir/acp3x-pdm-dma.c
patch
|
blob
|
history
diff --git
a/sound/soc/amd/renoir/acp3x-pdm-dma.c
b/sound/soc/amd/renoir/acp3x-pdm-dma.c
index
9420100
..
b33c7ae
100644
(file)
--- a/
sound/soc/amd/renoir/acp3x-pdm-dma.c
+++ b/
sound/soc/amd/renoir/acp3x-pdm-dma.c
@@
-150,12
+150,11
@@
static int start_pdm_dma(void __iomem *acp_base)
static int stop_pdm_dma(void __iomem *acp_base)
{
- u32 pdm_enable, pdm_dma_enable
, pdm_fifo_flush
;
+ u32 pdm_enable, pdm_dma_enable;
int timeout;
pdm_enable = 0x00;
pdm_dma_enable = 0x00;
- pdm_fifo_flush = 0x00;
pdm_enable = rn_readl(acp_base + ACP_WOV_PDM_ENABLE);
pdm_dma_enable = rn_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE);