* [morimoto-linux:fw-cleanup-2020-06-01-v1 43/162] sound/soc/codecs/rt5682-i2c.c:62:6: error: implicit declaration of function 'snd_soc_component_read32'; did you mean 'snd_soc_component_read'?
@ 2020-06-02 11:45 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-06-02 11:45 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3201 bytes --]
tree: https://github.com/morimoto/linux fw-cleanup-2020-06-01-v1
head: 260797ab38d66917051cd83f9723ebcef557e69f
commit: afceb85af11e65c8a97f5bfc13ba73cc414f3bf7 [43/162] ASoC: remove snd_soc_component_read32()
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-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
git checkout afceb85af11e65c8a97f5bfc13ba73cc414f3bf7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
sound/soc/codecs/rt5682-i2c.c: In function 'rt5682_jd_check_handler':
>> sound/soc/codecs/rt5682-i2c.c:62:6: error: implicit declaration of function 'snd_soc_component_read32'; did you mean 'snd_soc_component_read'? [-Werror=implicit-function-declaration]
62 | if (snd_soc_component_read32(rt5682->component, RT5682_AJD1_CTRL)
| ^~~~~~~~~~~~~~~~~~~~~~~~
| snd_soc_component_read
cc1: some warnings being treated as errors
vim +62 sound/soc/codecs/rt5682-i2c.c
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 56
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 57 static void rt5682_jd_check_handler(struct work_struct *work)
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 58 {
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 59 struct rt5682_priv *rt5682 = container_of(work, struct rt5682_priv,
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 60 jd_check_work.work);
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 61
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 @62 if (snd_soc_component_read32(rt5682->component, RT5682_AJD1_CTRL)
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 63 & RT5682_JDH_RS_MASK) {
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 64 /* jack out */
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 65 rt5682->jack_type = rt5682_headset_detect(rt5682->component, 0);
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 66
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 67 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type,
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 68 SND_JACK_HEADSET |
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 69 SND_JACK_BTN_0 | SND_JACK_BTN_1 |
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 70 SND_JACK_BTN_2 | SND_JACK_BTN_3);
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 71 } else {
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 72 schedule_delayed_work(&rt5682->jd_check_work, 500);
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 73 }
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 74 }
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 75
:::::: The code at line 62 was first introduced by commit
:::::: a50067d4f3c1d60d3fa07584aa6a0f897c1ac5b6 ASoC: rt5682: split i2c driver into separate module
:::::: TO: Arnd Bergmann <arnd@arndb.de>
:::::: CC: Mark Brown <broonie@kernel.org>
---
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: 63457 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-02 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02 11:45 [morimoto-linux:fw-cleanup-2020-06-01-v1 43/162] sound/soc/codecs/rt5682-i2c.c:62:6: error: implicit declaration of function 'snd_soc_component_read32'; did you mean 'snd_soc_component_read'? kbuild 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.