* [freescale-fslc:5.4-2.3.x-imx 13045/16543] sound/soc/fsl/fsl_esai_client.c:81:5: warning: no previous prototype for 'fsl_esai_client_pcm_trigger'
@ 2021-01-14 6:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-14 6:11 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2705 bytes --]
tree: https://github.com/Freescale/linux-fslc 5.4-2.3.x-imx
head: a8a2b9ee4bec0b29d031324160b7f11af42a563a
commit: d5986dc1d41899a11bd636fe337ef7d503183683 [13045/16543] MLK-24612-1: ASoC: fsl_esai: Add esai client driver
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/Freescale/linux-fslc/commit/d5986dc1d41899a11bd636fe337ef7d503183683
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.4-2.3.x-imx
git checkout d5986dc1d41899a11bd636fe337ef7d503183683
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> sound/soc/fsl/fsl_esai_client.c:81:5: warning: no previous prototype for 'fsl_esai_client_pcm_trigger' [-Wmissing-prototypes]
81 | int fsl_esai_client_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for GPIO_MXC
Depends on GPIOLIB && HAS_IOMEM && ARCH_MXC
Selected by
- GPIO_MXC_PAD_WAKEUP && GPIOLIB && HAS_IOMEM && IMX_SCU
vim +/fsl_esai_client_pcm_trigger +81 sound/soc/fsl/fsl_esai_client.c
80
> 81 int fsl_esai_client_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
82 {
83 struct snd_soc_pcm_runtime *rtd = substream->private_data;
84 struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
85 struct fsl_esai_client *client = snd_soc_dai_get_drvdata(cpu_dai);
86 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
87
88 switch (cmd) {
89 case SNDRV_PCM_TRIGGER_START:
90 case SNDRV_PCM_TRIGGER_RESUME:
91 case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
92 /* These info are needed by esai mix*/
93 client->dma[tx].buffer_bytes = snd_pcm_lib_buffer_bytes(substream);
94 client->dma[tx].period_bytes = snd_pcm_lib_period_bytes(substream);
95 client->dma[tx].buffer_offset = 0;
96 client->dma[tx].active = true;
97 break;
98 case SNDRV_PCM_TRIGGER_SUSPEND:
99 case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
100 case SNDRV_PCM_TRIGGER_STOP:
101 client->dma[tx].active = false;
102 break;
103 default:
104 return -EINVAL;
105 }
106
107 return 0;
108 }
109
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 71424 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-14 6:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-14 6:11 [freescale-fslc:5.4-2.3.x-imx 13045/16543] sound/soc/fsl/fsl_esai_client.c:81:5: warning: no previous prototype for 'fsl_esai_client_pcm_trigger' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.