diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2020-05-19 17:34:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-19 21:49:53 +0300 |
commit | fdae433e5129c4ca87716de08fdcc0034d5aabc8 (patch) | |
tree | 0c87187723465bde393861a665c8a8215a55e07f /sound/soc/amd/renoir | |
parent | 95325ab34c87f36d4940ea8101c122cbe512896e (diff) | |
download | linux-fdae433e5129c4ca87716de08fdcc0034d5aabc8.tar.xz |
ASoC: amd: fix kernel warning
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>
Diffstat (limited to 'sound/soc/amd/renoir')
-rw-r--r-- | sound/soc/amd/renoir/acp3x-pdm-dma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/amd/renoir/acp3x-pdm-dma.c b/sound/soc/amd/renoir/acp3x-pdm-dma.c index 942010021319..b33c7aec7481 100644 --- 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); |