LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Mukunda,Vijendar" <vijendar.mukunda@amd.com>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org,
"moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER
MANAGEM..." <alsa-devel@alsa-project.org>,
open list <linux-kernel@vger.kernel.org>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Philippe Ombredanne <pombredanne@nexb.com>,
Takashi Iwai <tiwai@suse.com>,
Jason Clinton <jclinton@chromium.org>,
Mark Brown <broonie@kernel.org>,
Alex Deucher <alexander.deucher@amd.com>,
Dylan Reid <dgreid@chromium.org>,
Akshu Agrawal <akshu.agrawal@amd.com>,
Guenter Roeck <linux@roeck-us.net>
Subject: Re: [alsa-devel] [PATCH 4/4] ASoC: amd: enabling bt i2s config after acp reset
Date: Tue, 17 Apr 2018 17:11:05 +0530 [thread overview]
Message-ID: <3c3e76fe-4b70-3cb2-5658-f9616b168219@amd.com> (raw)
In-Reply-To: <201804171833.Rbn5FNLY%fengguang.wu@intel.com>
On Tuesday 17 April 2018 04:47 PM, kbuild test robot wrote:
> Hi Vijendar,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on sound/for-next]
> [also build test ERROR on v4.17-rc1 next-20180417]
> [cannot apply to asoc/for-next]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Vijendar-Mukunda/ASoC-dwc-I2S-Controller-instance-param-added/20180417-175408
> base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
> config: i386-randconfig-x015-201815 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> sound/soc/amd/acp-da7219-max98357a.c: In function 'cz_da7219_init':
>>> sound/soc/amd/acp-da7219-max98357a.c:85:45: error: 'pdev' undeclared (first use in this function); did you mean 'cdev'?
> bt_pad_enable = device_property_read_bool(&pdev->dev, "bt-pad-enable");
> ^~~~
> cdev
> sound/soc/amd/acp-da7219-max98357a.c:85:45: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +85 sound/soc/amd/acp-da7219-max98357a.c
>
> 48
> 49 static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd)
> 50 {
> 51 int ret;
> 52 struct snd_soc_card *card = rtd->card;
> 53 struct snd_soc_dai *codec_dai = rtd->codec_dai;
> 54 struct snd_soc_component *component = codec_dai->component;
> 55
> 56 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name);
> 57
> 58 ret = snd_soc_dai_set_sysclk(codec_dai, DA7219_CLKSRC_MCLK,
> 59 CZ_PLAT_CLK, SND_SOC_CLOCK_IN);
> 60 if (ret < 0) {
> 61 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret);
> 62 return ret;
> 63 }
> 64
> 65 ret = snd_soc_dai_set_pll(codec_dai, 0, DA7219_SYSCLK_PLL,
> 66 CZ_PLAT_CLK, MCLK_RATE);
> 67 if (ret < 0) {
> 68 dev_err(rtd->dev, "can't set codec pll: %d\n", ret);
> 69 return ret;
> 70 }
> 71
> 72 da7219_dai_clk = clk_get(component->dev, "da7219-dai-clks");
> 73
> 74 ret = snd_soc_card_jack_new(card, "Headset Jack",
> 75 SND_JACK_HEADPHONE | SND_JACK_MICROPHONE |
> 76 SND_JACK_BTN_0 | SND_JACK_BTN_1 |
> 77 SND_JACK_BTN_2 | SND_JACK_BTN_3,
> 78 &cz_jack, NULL, 0);
> 79 if (ret) {
> 80 dev_err(card->dev, "HP jack creation failed %d\n", ret);
> 81 return ret;
> 82 }
> 83
> 84 da7219_aad_jack_det(component, &cz_jack);
> > 85 bt_pad_enable = device_property_read_bool(&pdev->dev, "bt-pad-enable");
> 86
> 87 return 0;
> 88 }
> 89
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
I will fix it and post the patch as V2 version.
next prev parent reply other threads:[~2018-04-17 11:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1523941201-15665-1-git-send-email-Vijendar.Mukunda@amd.com>
2018-04-17 4:59 ` [PATCH 1/4] ASoC: dwc: I2S Controller instance param added Vijendar Mukunda
2018-04-17 16:09 ` Mark Brown
2018-04-18 9:41 ` Mukunda,Vijendar
2018-04-17 4:59 ` [PATCH 2/4] ASoC: amd: fixed checkpatch pl warnings Vijendar Mukunda
2018-04-17 17:09 ` Applied "ASoC: amd: fixed checkpatch pl warnings" to the asoc tree Mark Brown
2018-04-17 17:11 ` Mark Brown
2018-04-17 4:59 ` [PATCH 3/4] ASoC: amd: dma driver changes for BT I2S instance Vijendar Mukunda
2018-04-17 4:59 ` [PATCH 4/4] ASoC: amd: enabling bt i2s config after acp reset Vijendar Mukunda
2018-04-17 10:42 ` Agrawal, Akshu
2018-04-17 11:17 ` [alsa-devel] " kbuild test robot
2018-04-17 11:41 ` Mukunda,Vijendar [this message]
2018-04-17 13:46 ` kbuild test robot
2018-04-17 15:51 ` [PATCH V2 " Vijendar Mukunda
2018-04-17 16:10 ` 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=3c3e76fe-4b70-3cb2-5658-f9616b168219@amd.com \
--to=vijendar.mukunda@amd.com \
--cc=akshu.agrawal@amd.com \
--cc=alexander.deucher@amd.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=dgreid@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=jclinton@chromium.org \
--cc=kbuild-all@01.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lkp@intel.com \
--cc=pombredanne@nexb.com \
--cc=tiwai@suse.com \
--subject='Re: [alsa-devel] [PATCH 4/4] ASoC: amd: enabling bt i2s config after acp reset' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).