* [asoc:topic/fsl-mega-fast 4/4] sound/soc/fsl/fsl_esai.c:903:5: warning: "CONFIG_PM_SLEEP" is not defined
@ 2015-10-05 17:15 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-10-05 17:15 UTC (permalink / raw
To: Zidan Wang; +Cc: alsa-devel, Mark Brown, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/fsl-mega-fast
head: c64c60763b4e3c72a3520c8d51be858cd67bacb5
commit: c64c60763b4e3c72a3520c8d51be858cd67bacb5 [4/4] ASoC: fsl_esai: Add driver suspend and resume to support MEGA Fast
config: x86_64-randconfig-x015-201540 (attached as .config)
reproduce:
git checkout c64c60763b4e3c72a3520c8d51be858cd67bacb5
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
>> sound/soc/fsl/fsl_esai.c:903:5: warning: "CONFIG_PM_SLEEP" is not defined [-Wundef]
#if CONFIG_PM_SLEEP
^
vim +/CONFIG_PM_SLEEP +903 sound/soc/fsl/fsl_esai.c
887 }
888
889 ret = imx_pcm_dma_init(pdev, IMX_ESAI_DMABUF_SIZE);
890 if (ret)
891 dev_err(&pdev->dev, "failed to init imx pcm dma: %d\n", ret);
892
893 return ret;
894 }
895
896 static const struct of_device_id fsl_esai_dt_ids[] = {
897 { .compatible = "fsl,imx35-esai", },
898 { .compatible = "fsl,vf610-esai", },
899 {}
900 };
901 MODULE_DEVICE_TABLE(of, fsl_esai_dt_ids);
902
> 903 #if CONFIG_PM_SLEEP
904 static int fsl_esai_suspend(struct device *dev)
905 {
906 struct fsl_esai *esai = dev_get_drvdata(dev);
907
908 regcache_cache_only(esai->regmap, true);
909 regcache_mark_dirty(esai->regmap);
910
911 return 0;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 21355 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-05 17:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05 17:15 [asoc:topic/fsl-mega-fast 4/4] sound/soc/fsl/fsl_esai.c:903:5: warning: "CONFIG_PM_SLEEP" is not defined kbuild test robot
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 read-only IMAP folder(s) and NNTP newsgroup(s).