[alsa-devel] [PATCH v2] ASoC: Intel: bytcr_rt5640: fallback mechanism if MCLK is not enabled
kbuild test robot
lkp at intel.com
Fri Dec 16 07:18:30 CET 2016
Hi Pierre-Louis,
[auto build test WARNING on asoc/for-next]
[also build test WARNING on v4.9 next-20161215]
[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/Pierre-Louis-Bossart/ASoC-Intel-bytcr_rt5640-fallback-mechanism-if-MCLK-is-not-enabled/20161216-125957
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-randconfig-s2-12161323 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
sound/soc/intel/boards/bytcr_rt5640.c: In function 'snd_byt_rt5640_mc_probe':
>> sound/soc/intel/boards/bytcr_rt5640.c:832: warning: format '%ld' expects type 'long int', but argument 3 has type 'int'
vim +832 sound/soc/intel/boards/bytcr_rt5640.c
816 /* fixup cpu dai name name */
817 snprintf(byt_rt5640_cpu_dai_name,
818 sizeof(byt_rt5640_cpu_dai_name),
819 "%s", "ssp0-port");
820
821 byt_rt5640_dais[dai_index].cpu_dai_name =
822 byt_rt5640_cpu_dai_name;
823 }
824
825 if ((byt_rt5640_quirk & BYT_RT5640_MCLK_EN) && (is_valleyview())) {
826 priv->mclk = devm_clk_get(&pdev->dev, "pmc_plt_clk_3");
827 if (IS_ERR(priv->mclk)) {
828 ret_val = PTR_ERR(priv->mclk);
829
830 dev_err(&pdev->dev,
831 "Failed to get MCLK from pmc_plt_clk_3: %ld\n",
> 832 ret_val);
833
834 /*
835 * Fall back to bit clock usage for -ENOENT (clock not
836 * available likely due to missing dependencies), bail
837 * for all other errors, including -EPROBE_DEFER
838 */
839 if (ret_val != -ENOENT)
840 return ret_val;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 25169 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161216/6022791f/attachment-0001.bin>
More information about the Alsa-devel
mailing list