[alsa-devel] [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 fengguang.wu at intel.com
Mon Oct 5 19:15:43 CEST 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 21355 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151006/03a6adf9/attachment-0001.obj>


More information about the Alsa-devel mailing list