All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 1/2] ASoC: sunxi: Add Allwinner H6 Digital MIC driver
Date: Thu, 17 Jun 2021 08:10:47 +0800	[thread overview]
Message-ID: <202106170842.nBGMaDte-lkp@intel.com> (raw)
In-Reply-To: <20210615130326.2044-1-fengzheng923@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2867 bytes --]

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-H6-Digital-MIC-driver/20210616-140744
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/49b9fed77fea75987ffd3230684bff94e1f22138
        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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 68087 bytes --]

      parent reply	other threads:[~2021-06-17  0:10 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 13:03 [PATCH 1/2] ASoC: sunxi: Add Allwinner H6 Digital MIC driver Ban Tao
2021-06-15 13:03 ` Ban Tao
2021-06-15 13:03 ` Ban Tao
2021-06-15 13:18 ` Philipp Zabel
2021-06-15 13:18   ` Philipp Zabel
2021-06-15 13:18   ` Philipp Zabel
2021-06-15 13:18   ` Philipp Zabel
2021-06-15 13:22 ` Mark Brown
2021-06-15 13:22   ` Mark Brown
2021-06-15 13:22   ` Mark Brown
2021-06-17  7:42   ` 班涛
2021-06-17  7:42     ` 班涛
2021-06-17  7:42     ` 班涛
2021-06-17  7:42     ` 班涛
2021-06-17 10:48     ` Mark Brown
2021-06-17 10:48       ` Mark Brown
2021-06-17 10:48       ` Mark Brown
2021-06-17 11:50       ` 班涛
2021-06-17 11:50         ` 班涛
2021-06-17 11:50         ` 班涛
2021-06-17 11:50         ` 班涛
2021-06-17 12:07         ` Mark Brown
2021-06-17 12:07           ` Mark Brown
2021-06-17 12:07           ` Mark Brown
2021-06-17 12:18           ` 班涛
2021-06-17 12:18             ` 班涛
2021-06-17 12:18             ` 班涛
2021-06-17 12:18             ` 班涛
2021-06-16  3:06 ` Samuel Holland
2021-06-16  3:06   ` Samuel Holland
2021-06-16  3:06   ` Samuel Holland
2021-06-16  6:21   ` 班涛
2021-06-19 19:52     ` Samuel Holland
2021-06-19 19:52       ` Samuel Holland
2021-06-19 19:52       ` Samuel Holland
2021-06-17  0:10 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106170842.nBGMaDte-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.