Re: [PATCH v1] ASoC: codecs: wcd937x: Add wcd937x codec driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Prasad,

kernel test robot noticed the following build warnings:

[auto build test WARNING on broonie-sound/for-next]
[also build test WARNING on linus/master v6.7-rc4 next-20231205]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Prasad-Kumpatla/ASoC-codecs-wcd937x-Add-wcd937x-codec-driver/20231205-203631
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link:    https://lore.kernel.org/r/20231205123400.6353-1-quic_pkumpatl%40quicinc.com
patch subject: [PATCH v1] ASoC: codecs: wcd937x: Add wcd937x codec driver
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20231206/202312060830.GFAdSK3t-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060830.GFAdSK3t-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312060830.GFAdSK3t-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/wcd937x-sdw.c:1117:12: warning: 'wcd937x_sdw_runtime_resume' defined but not used [-Wunused-function]
    1117 | static int wcd937x_sdw_runtime_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/wcd937x-sdw.c:1105:12: warning: 'wcd937x_sdw_runtime_suspend' defined but not used [-Wunused-function]
    1105 | static int wcd937x_sdw_runtime_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/wcd937x_sdw_runtime_resume +1117 sound/soc/codecs/wcd937x-sdw.c

  1104	
> 1105	static int wcd937x_sdw_runtime_suspend(struct device *dev)
  1106	{
  1107		struct wcd937x_sdw_priv *wcd = dev_get_drvdata(dev);
  1108	
  1109		if (wcd->regmap) {
  1110			regcache_cache_only(wcd->regmap, true);
  1111			regcache_mark_dirty(wcd->regmap);
  1112		}
  1113	
  1114		return 0;
  1115	}
  1116	
> 1117	static int wcd937x_sdw_runtime_resume(struct device *dev)
  1118	{
  1119		struct wcd937x_sdw_priv *wcd = dev_get_drvdata(dev);
  1120	
  1121		if (wcd->regmap) {
  1122			regcache_cache_only(wcd->regmap, false);
  1123			regcache_sync(wcd->regmap);
  1124		}
  1125	
  1126		pm_runtime_mark_last_busy(dev);
  1127	
  1128		return 0;
  1129	}
  1130	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux