Hi Ban,
I love your patch! Yet something to improve:
[auto build test ERROR on sunxi/sunxi/for-next]
[also build test ERROR on asoc/for-next pza/reset/next linus/master v5.13-rc6
next-20210616]
[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]
url:
https://github.com/0day-ci/linux/commits/Ban-Tao/ASoC-sunxi-Add-Allwinner...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git sunxi/for-next
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/49b9fed77fea75987ffd3230684bff94e...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Ban-Tao/ASoC-sunxi-Add-Allwinner-H6-Digital-MIC-driver/20210616-140744
git checkout 49b9fed77fea75987ffd3230684bff94e1f22138
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
sound/soc/sunxi/sun50i-dmic.c: In function 'sun50i_dmic_startup':
> sound/soc/sunxi/sun50i-dmic.c:96:60: error: 'struct
snd_soc_pcm_runtime' has no member named 'cpu_dai'
96 | struct
sun50i_dmic_dev *host = snd_soc_dai_get_drvdata(rtd->cpu_dai);
| ^~
vim +96 sound/soc/sunxi/sun50i-dmic.c
91
92 static int sun50i_dmic_startup(struct snd_pcm_substream *substream,
93 struct snd_soc_dai *cpu_dai)
94 {
95 struct snd_soc_pcm_runtime *rtd = substream->private_data;
96 struct sun50i_dmic_dev *host =
snd_soc_dai_get_drvdata(rtd->cpu_dai);
97
98 /* only support capture */
99 if (substream->stream != SNDRV_PCM_STREAM_CAPTURE)
100 return -EINVAL;
101
102 regmap_write(host->regmap, SUN50I_DMIC_INT_STA,
103 SUN50I_DMIC_INT_STA_OVERRUN_IRQ_PENDING |
104 SUN50I_DMIC_INT_STA_DATA_IRQ_PENDING);
105 regmap_update_bits(host->regmap, SUN50I_DMIC_RXFIFO_CTL,
106 SUN50I_DMIC_RXFIFO_CTL_FLUSH,
107 SUN50I_DMIC_RXFIFO_CTL_FLUSH);
108 regmap_write(host->regmap, SUN50I_DMIC_CNT, SUN50I_DMIC_CNT_N);
109
110 return 0;
111 }
112
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org