From: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
To: <alsa-devel@alsa-project.org>, <broonie@kernel.org>, <tiwai@suse.de>
Cc: Alexander.Deucher@amd.com, kbuild test robot <lkp@intel.com>,
Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Subject: [PATCH 1/3] ASoC: amd: fix kernel warning
Date: Tue, 19 May 2020 22:34:20 +0800 [thread overview]
Message-ID: <20200519143422.18255-1-Vijendar.Mukunda@amd.com> (raw)
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>
---
sound/soc/amd/renoir/acp3x-pdm-dma.c | 3 +--
1 file changed, 1 insertion(+), 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);
--
2.26.2
next reply other threads:[~2020-05-19 14:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 14:34 Vijendar Mukunda [this message]
2020-05-19 14:34 ` [PATCH 2/3] ASoC: amd: refactoring dai_hw_params() callback Vijendar Mukunda
2020-05-19 14:34 ` [PATCH 3/3] ASoC: amd: return error when acp de-init fails Vijendar Mukunda
2020-05-19 18:50 ` [PATCH 1/3] ASoC: amd: fix kernel warning Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200519143422.18255-1-Vijendar.Mukunda@amd.com \
--to=vijendar.mukunda@amd.com \
--cc=Alexander.Deucher@amd.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lkp@intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.