mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* sound/soc/tegra/tegra210_i2s.c:922:(.text+0x4f0): relocation truncated to fit: R_NIOS2_CALL26 against `simple_util_parse_convert'
@ 2024-07-22 17:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-22 17:33 UTC (permalink / raw)
  To: Mohan Kumar; +Cc: oe-kbuild-all, linux-kernel, Mark Brown, Sameer Pujar

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   933069701c1b507825b514317d4edd5d3fd9d417
commit: 2502f8dd8c30edbca9253d5999294f58211039b1 ASoC: tegra: I2S client convert formats handling
date:   8 weeks ago
config: nios2-buildonly-randconfig-r004-20230209 (https://download.01.org/0day-ci/archive/20240723/202407230154.Bazhs02X-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240723/202407230154.Bazhs02X-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/202407230154.Bazhs02X-lkp@intel.com/

All errors (new ones prefixed by >>):

   nios2-linux-ld: sound/soc/tegra/tegra210_i2s.o: in function `tegra210_i2s_probe':
   sound/soc/tegra/tegra210_i2s.c:922:(.text+0x4f0): undefined reference to `simple_util_parse_convert'
>> sound/soc/tegra/tegra210_i2s.c:922:(.text+0x4f0): relocation truncated to fit: R_NIOS2_CALL26 against `simple_util_parse_convert'
>> nios2-linux-ld: sound/soc/tegra/tegra210_i2s.c:932:(.text+0x51c): undefined reference to `simple_util_get_sample_fmt'
>> sound/soc/tegra/tegra210_i2s.c:932:(.text+0x51c): relocation truncated to fit: R_NIOS2_CALL26 against `simple_util_get_sample_fmt'


vim +922 sound/soc/tegra/tegra210_i2s.c

   900	
   901	/*
   902	 * The AHUB HW modules are interconnected with CIF which are capable of
   903	 * supporting Channel and Sample bit format conversion. This needs different
   904	 * CIF Audio and client configuration. As one of the config comes from
   905	 * params_channels() or params_format(), the extra configuration is passed from
   906	 * CIF Port of DT I2S node which can help to perform this conversion.
   907	 *
   908	 *    4ch          audio = 4ch      client = 2ch       2ch
   909	 *   -----> ADMAIF -----------> CIF -------------> I2S ---->
   910	 */
   911	static void tegra210_parse_client_convert(struct device *dev)
   912	{
   913		struct tegra210_i2s *i2s = dev_get_drvdata(dev);
   914		struct device_node *ports, *ep;
   915		struct simple_util_data data = {};
   916		int cif_port = 0;
   917	
   918		ports = of_get_child_by_name(dev->of_node, "ports");
   919		if (ports) {
   920			ep = of_graph_get_endpoint_by_regs(ports, cif_port, -1);
   921			if (ep) {
 > 922				simple_util_parse_convert(ep, NULL, &data);
   923				of_node_put(ep);
   924			}
   925			of_node_put(ports);
   926		}
   927	
   928		if (data.convert_channels)
   929			i2s->client_channels = data.convert_channels;
   930	
   931		if (data.convert_sample_format)
 > 932			i2s->client_sample_format = simple_util_get_sample_fmt(&data);
   933	}
   934	

-- 
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:[~2024-07-22 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-22 17:33 sound/soc/tegra/tegra210_i2s.c:922:(.text+0x4f0): relocation truncated to fit: R_NIOS2_CALL26 against `simple_util_parse_convert' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®