[asoc:topic/topology 1/2] sound/soc/soc-topology.c:1572:19: error: implicit declaration of function 'snd_pcm_rate_range_to_bits'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/topology
head:   acfc7d46cddcf71cf18772bbe8717b84eac5f672
commit: 64527e8a352968bda529f01df1c9dd5fe581ff04 [1/2] ASoC: topology: Add FE DAIs dynamically
config: i386-allmodconfig (attached as .config)
reproduce:
        git checkout 64527e8a352968bda529f01df1c9dd5fe581ff04
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   sound/soc/soc-topology.c: In function 'soc_tplg_dai_create':
>> sound/soc/soc-topology.c:1572:19: error: implicit declaration of function 'snd_pcm_rate_range_to_bits' [-Werror=implicit-function-declaration]
      stream->rates = snd_pcm_rate_range_to_bits(caps->rate_min,
                      ^
   sound/soc/soc-topology.c: At top level:
   sound/soc/soc-topology.c:249:31: warning: 'get_dobj_type' defined but not used [-Wunused-function]
    static enum snd_soc_dobj_type get_dobj_type(struct snd_soc_tplg_hdr *hdr,
                                  ^
   cc1: some warnings being treated as errors

vim +/snd_pcm_rate_range_to_bits +1572 sound/soc/soc-topology.c

  1566			stream = &dai_drv->playback;
  1567			caps = &pcm->caps[SND_SOC_TPLG_STREAM_PLAYBACK];
  1568	
  1569			stream->stream_name = kstrdup(caps->name, GFP_KERNEL);
  1570			stream->channels_min = caps->channels_min;
  1571			stream->channels_max = caps->channels_max;
> 1572			stream->rates = snd_pcm_rate_range_to_bits(caps->rate_min,
  1573								caps->rate_max);
  1574			stream->formats = caps->formats;
  1575		}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux