* [morimoto:sound-cleanup-2026-03-27 95/106] sound/soc/pxa/mmp-sspa.c:110:30: error: implicit declaration of function 'snd_soc_dai_to_dev'; did you mean 'snd_soc_dapm_to_dev'?
@ 2026-03-28 10:15 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-28 10:15 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: oe-kbuild-all
tree: https://github.com/morimoto/linux sound-cleanup-2026-03-27
head: b547ff73a13ed8ce92e8e208ccd27884077b160b
commit: 09f6604cc02792c7e69777d60b23ac6314ee428c [95/106] dai
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260328/202603281805.TeCGLWjL-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260328/202603281805.TeCGLWjL-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/202603281805.TeCGLWjL-lkp@intel.com/
All errors (new ones prefixed by >>):
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_set_dai_sysclk':
>> sound/soc/pxa/mmp-sspa.c:110:30: error: implicit declaration of function 'snd_soc_dai_to_dev'; did you mean 'snd_soc_dapm_to_dev'? [-Wimplicit-function-declaration]
110 | struct device *dev = snd_soc_dai_to_dev(cpu_dai);
| ^~~~~~~~~~~~~~~~~~
| snd_soc_dapm_to_dev
>> sound/soc/pxa/mmp-sspa.c:110:30: error: initialization of 'struct device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_set_dai_pll':
sound/soc/pxa/mmp-sspa.c:138:30: error: initialization of 'struct device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
138 | struct device *dev = snd_soc_dai_to_dev(cpu_dai);
| ^~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_hw_params':
sound/soc/pxa/mmp-sspa.c:216:30: error: initialization of 'struct device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
216 | struct device *dev = snd_soc_dai_to_dev(dai);
| ^~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_probe':
sound/soc/pxa/mmp-sspa.c:327:30: error: initialization of 'struct device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
327 | struct device *dev = snd_soc_dai_to_dev(dai);
| ^~~~~~~~~~~~~~~~~~
vim +110 sound/soc/pxa/mmp-sspa.c
102
103 /*
104 * Set the SSP ports SYSCLK.
105 */
106 static int mmp_sspa_set_dai_sysclk(struct snd_soc_dai *cpu_dai,
107 int clk_id, unsigned int freq, int dir)
108 {
109 struct sspa_priv *sspa = snd_soc_dai_get_drvdata(cpu_dai);
> 110 struct device *dev = snd_soc_dai_to_dev(cpu_dai);
111 int ret = 0;
112
113 if (dev->of_node)
114 return -ENOTSUPP;
115
116 switch (clk_id) {
117 case MMP_SSPA_CLK_AUDIO:
118 ret = clk_set_rate(sspa->audio_clk, freq);
119 if (ret)
120 return ret;
121 break;
122 case MMP_SSPA_CLK_PLL:
123 case MMP_SSPA_CLK_VCXO:
124 /* not support yet */
125 return -EINVAL;
126 default:
127 return -EINVAL;
128 }
129
130 return 0;
131 }
132
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-28 10:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-28 10:15 [morimoto:sound-cleanup-2026-03-27 95/106] sound/soc/pxa/mmp-sspa.c:110:30: error: implicit declaration of function 'snd_soc_dai_to_dev'; did you mean 'snd_soc_dapm_to_dev'? 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.