From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [morimoto:sound-cleanup-2026-10-16-2 231/331] sound/soc/pxa/mmp-sspa.c:557:8: error: implicit declaration of function 'devm_snd_soc_component_register'; did you mean 'snd_soc_component_register'?
Date: Fri, 16 Oct 2026 16:12:16 +0200 [thread overview]
Message-ID: <202610161648.UPtfPOgc-lkp@intel.com> (raw)
tree: https://github.com/morimoto/linux sound-cleanup-2026-10-16-2
head: 74808ab9efae9b3cfb9234516fbf8d3bc7f6b8b7
commit: 47cdfff731aaf82d9b36ad4dd43651e744e88d85 [231/331] dai
config: arm-randconfig-2001-20261016 (https://download.01.org/0day-ci/archive/20261016/202610161648.UPtfPOgc-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261016/202610161648.UPtfPOgc-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610161648.UPtfPOgc-lkp@intel.com/
All errors (new ones prefixed by >>):
sound/soc/pxa/mmp-sspa.c: In function 'asoc_mmp_sspa_probe':
>> sound/soc/pxa/mmp-sspa.c:557:8: error: implicit declaration of function 'devm_snd_soc_component_register'; did you mean 'snd_soc_component_register'? [-Werror=implicit-function-declaration]
ret = devm_snd_soc_component_register(&pdev->dev, &mmp_sspa_component,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
snd_soc_component_register
cc1: some warnings being treated as errors
vim +557 sound/soc/pxa/mmp-sspa.c
485
486 static int asoc_mmp_sspa_probe(struct platform_device *pdev)
487 {
488 struct sspa_priv *sspa;
489 int ret;
490
491 sspa = devm_kzalloc(&pdev->dev,
492 sizeof(struct sspa_priv), GFP_KERNEL);
493 if (!sspa)
494 return -ENOMEM;
495
496 if (pdev->dev.of_node) {
497 sspa->rx_base = devm_platform_ioremap_resource(pdev, 0);
498 if (IS_ERR(sspa->rx_base))
499 return PTR_ERR(sspa->rx_base);
500
501 sspa->tx_base = devm_platform_ioremap_resource(pdev, 1);
502 if (IS_ERR(sspa->tx_base))
503 return PTR_ERR(sspa->tx_base);
504
505 sspa->clk = devm_clk_get(&pdev->dev, "bitclk");
506 if (IS_ERR(sspa->clk))
507 return PTR_ERR(sspa->clk);
508
509 sspa->audio_clk = devm_clk_get(&pdev->dev, "audio");
510 if (IS_ERR(sspa->audio_clk))
511 return PTR_ERR(sspa->audio_clk);
512 } else {
513 struct resource *res;
514
515 res = platform_get_resource(pdev, IORESOURCE_IO, 0);
516 if (res == NULL)
517 return -ENODEV;
518
519 sspa->rx_base = devm_ioremap(&pdev->dev, res->start, 0x30);
520 if (!sspa->rx_base)
521 return -ENOMEM;
522
523 sspa->tx_base = devm_ioremap(&pdev->dev,
524 res->start + 0x80, 0x30);
525 if (!sspa->tx_base)
526 return -ENOMEM;
527
528 sspa->clk = devm_clk_get(&pdev->dev, NULL);
529 if (IS_ERR(sspa->clk))
530 return PTR_ERR(sspa->clk);
531
532 sspa->audio_clk = clk_get(NULL, "mmp-audio");
533 if (IS_ERR(sspa->audio_clk))
534 return PTR_ERR(sspa->audio_clk);
535
536 sspa->sysclk = clk_get(NULL, "mmp-sysclk");
537 if (IS_ERR(sspa->sysclk)) {
538 clk_put(sspa->audio_clk);
539 return PTR_ERR(sspa->sysclk);
540 }
541 }
542 platform_set_drvdata(pdev, sspa);
543
544 sspa->playback_dma_data.maxburst = 4;
545 sspa->capture_dma_data.maxburst = 4;
546 /* You know, these addresses are actually ignored. */
547 sspa->capture_dma_data.addr = SSPA_D;
548 sspa->playback_dma_data.addr = 0x80 + SSPA_D;
549
550 if (pdev->dev.of_node) {
551 ret = devm_snd_dmaengine_pcm_register(&pdev->dev,
552 &mmp_pcm_config, 0);
553 if (ret)
554 return ret;
555 }
556
> 557 ret = devm_snd_soc_component_register(&pdev->dev, &mmp_sspa_component,
558 &mmp_sspa_dai, 1);
559 if (ret)
560 return ret;
561
562 pm_runtime_enable(&pdev->dev);
563 clk_prepare_enable(sspa->audio_clk);
564
565 return 0;
566 }
567
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-16 14:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202610161648.UPtfPOgc-lkp@intel.com \
--to=lkp@intel.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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.