[alsa-devel] [PATCH] ASoC: intel: Fix crash at suspend/resume without card registration
kbuild test robot
lkp at intel.com
Sat Nov 26 00:48:21 CET 2016
Hi Takashi,
[auto build test WARNING on asoc/for-next]
[also build test WARNING on v4.9-rc6 next-20161125]
[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/Takashi-Iwai/ASoC-intel-Fix-crash-at-suspend-resume-without-card-registration/20161126-054456
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-randconfig-i0-201647 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
sound/soc/intel/atom/sst-mfld-platform-pcm.c: In function 'sst_soc_complete':
>> sound/soc/intel/atom/sst-mfld-platform-pcm.c:800:3: warning: 'return' with a value, in function returning void
return 0;
^
vim +/return +800 sound/soc/intel/atom/sst-mfld-platform-pcm.c
784
785 if (dai->active) {
786 send_ssp_cmd(dai, dai->name, 0);
787 sst_handle_vb_timer(dai, false);
788 }
789 }
790
791 return 0;
792 }
793
794 static void sst_soc_complete(struct device *dev)
795 {
796 struct sst_data *drv = dev_get_drvdata(dev);
797 struct snd_soc_pcm_runtime *rtd;
798
799 if (!drv->soc_card)
> 800 return 0;
801
802 /* restart SSPs */
803 list_for_each_entry(rtd, &drv->soc_card->rtd_list, list) {
804 struct snd_soc_dai *dai = rtd->cpu_dai;
805
806 if (dai->active) {
807 sst_handle_vb_timer(dai, true);
808 send_ssp_cmd(dai, dai->name, 1);
---
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: 34039 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161126/1a8bac47/attachment-0001.bin>
More information about the Alsa-devel
mailing list