From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Subject: [PATCH 1/3] ASoC: da7219: Fix a compile warning at CONFIG_COMMON_CLK=n
Date: Mon, 6 May 2019 17:02:22 +0200 [thread overview]
Message-ID: <20190506150224.1394-2-tiwai@suse.de> (raw)
In-Reply-To: <20190506150224.1394-1-tiwai@suse.de>
A trivial fix for the randconfig build error:
sound/soc/codecs/da7219.c:2366:6: warning: unused variable ‘i’ [-Wunused-variable]
Fixes: d90ba6c8b53e ("ASoC: da7219: Expose BCLK and WCLK control through CCF")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
sound/soc/codecs/da7219.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c
index cf2948c00262..7d9d1f84eed8 100644
--- a/sound/soc/codecs/da7219.c
+++ b/sound/soc/codecs/da7219.c
@@ -2363,7 +2363,9 @@ static int da7219_probe(struct snd_soc_component *component)
static void da7219_remove(struct snd_soc_component *component)
{
struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component);
+#ifdef CONFIG_COMMON_CLK
int i;
+#endif
da7219_aad_exit(component);
--
2.16.4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2019-05-06 15:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-06 15:02 [PATCH 0/3] ASoC: trivial compile warning fixes Takashi Iwai
2019-05-06 15:02 ` Takashi Iwai [this message]
2019-05-07 2:28 ` Applied "ASoC: da7219: Fix a compile warning at CONFIG_COMMON_CLK=n" to the asoc tree Mark Brown
2019-05-07 2:30 ` Mark Brown
2019-05-06 15:02 ` [PATCH 2/3] ASoC: SOF: Fix a compile warning with CONFIG_PCI=n Takashi Iwai
2019-05-06 15:40 ` Pierre-Louis Bossart
2019-05-06 18:21 ` Ranjani Sridharan
2019-05-07 2:28 ` Applied "ASoC: SOF: Fix a compile warning with CONFIG_PCI=n" to the asoc tree Mark Brown
2019-05-07 2:30 ` Mark Brown
2019-05-06 15:02 ` [PATCH 3/3] ASoC: rockchip: Fix an uninitialized variable compile warning Takashi Iwai
2019-05-07 2:28 ` Applied "ASoC: rockchip: Fix an uninitialized variable compile warning" to the asoc tree Mark Brown
2019-05-07 2:30 ` 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=20190506150224.1394-2-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox