Commit fdae433e authored by Vijendar Mukunda's avatar Vijendar Mukunda Committed by Mark Brown

ASoC: amd: fix kernel warning

Removed unused variable from code to fix the kernel warning.
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarVijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20200519143422.18255-1-Vijendar.Mukunda@amd.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 95325ab3
...@@ -150,12 +150,11 @@ static int start_pdm_dma(void __iomem *acp_base) ...@@ -150,12 +150,11 @@ static int start_pdm_dma(void __iomem *acp_base)
static int stop_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; int timeout;
pdm_enable = 0x00; pdm_enable = 0x00;
pdm_dma_enable = 0x00; pdm_dma_enable = 0x00;
pdm_fifo_flush = 0x00;
pdm_enable = rn_readl(acp_base + ACP_WOV_PDM_ENABLE); pdm_enable = rn_readl(acp_base + ACP_WOV_PDM_ENABLE);
pdm_dma_enable = rn_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE); pdm_dma_enable = rn_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment