linux/sound/soc/tegra
Sasha Levin dad701bdb7
ASoC: tegra: Remove stale snd-soc-tegra-utils composite module definition
kconfiglint reports two warnings for sound/soc/tegra/Makefile:

  M002: composite module 'snd-soc-tegra-utils' defined but not in any obj-*
  M008: composite module 'snd-soc-tegra-utils': tegra_asoc_utils.o has no
        source file

The composite module definition
`snd-soc-tegra-utils-y += tegra_asoc_utils.o` references a source file that
no longer exists and defines a module that is never included in any obj-*
target.

The tegra_asoc_utils module was originally introduced in commit
a3cd50deef ("ASoC: Tegra: Move utilities to separate module") by Stephen
Warren in 2011 to provide shared clock/rate utility functions for Tegra
machine drivers. At that time, the Makefile had both the composite
definition (`snd-soc-tegra-utils-objs`) and the build target
(`obj-$(CONFIG_SND_TEGRA_SOC) += snd-soc-tegra-utils.o`).

In 2021,
commit 8c1b3b1593 ("ASoC: tegra: Squash utils into common machine
driver")
by Dmitry Osipenko merged tegra_asoc_utils.c into tegra_asoc_machine.c,
deleting both the .c and .h files. That commit correctly removed the obj-*
build target line but overlooked the composite module definition line
(`snd-soc-tegra-utils-objs += tegra_asoc_utils.o`).

The orphaned line persisted unnoticed and was even mechanically updated in
2024 by
commit 51a50d6ad7 ("ASoC: tegra: Use *-y instead of *-objs in
Makefile")
by Takashi Iwai, which converted it from `-objs` to `-y` syntax as part of
a treewide cleanup — inadvertently refreshing a stale definition.

Remove the orphaned composite module definition since it serves no purpose:
the source file was deleted, the obj-* target was already removed, and the
functionality now lives in tegra_asoc_machine.c.

Assisted-by: Claude:claude-opus-4-6 kconfiglint
Signed-off-by: Sasha Levin <sashal@kernel.org>
Link: https://patch.msgid.link/20260426000249.54799-1-sashal@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-04-27 08:23:21 +09:00
..
Kconfig ASoC: tegra: Support WM8962 by machine driver 2026-03-01 23:48:31 +00:00
Makefile ASoC: tegra: Remove stale snd-soc-tegra-utils composite module definition 2026-04-27 08:23:21 +09:00
tegra_asoc_machine.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra_asoc_machine.h
tegra_audio_graph_card.c ASoC: tegra: Use dev_err_probe() in tegra_audio_graph_card probe 2026-03-25 13:14:29 +00:00
tegra_cif.h ASoC: tegra: CIF: Add Tegra264 support 2025-05-22 11:02:05 +01:00
tegra_isomgr_bw.c ASoC: tegra: Tegra264 support in isomgr_bw 2025-05-22 11:02:12 +01:00
tegra_isomgr_bw.h ASoC: tegra: Add interconnect support 2025-02-03 14:03:44 +00:00
tegra_pcm.c ASoC: tegra: name back to pcm_new()/pcm_free() 2026-03-16 13:38:04 +00:00
tegra_pcm.h ASoC: tegra: name back to pcm_new()/pcm_free() 2026-03-16 13:38:04 +00:00
tegra_wm8903.c ASoC: tegra: tegra_wm8903: convert to snd_soc_dapm_xxx() 2025-11-17 00:18:39 +00:00
tegra_wm8962.c ASoC: tegra: Support WM8962 by machine driver 2026-03-01 23:48:31 +00:00
tegra20_ac97.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
tegra20_ac97.h ASoC: tegra: tegra20_ac97: Convert to use GPIO descriptors 2023-12-18 14:03:32 +00:00
tegra20_das.c ASoC: tegra: tegra20_das: Drop write-only driver data member 2022-07-05 19:54:00 +01:00
tegra20_i2s.c ASoC: tegra20: Convert to RUNTIME_PM_OPS() & co 2025-03-17 10:15:01 +00:00
tegra20_i2s.h
tegra20_spdif.c ASoC: tegra20: Convert to RUNTIME_PM_OPS() & co 2025-03-17 10:15:01 +00:00
tegra20_spdif.h ASoC: tegra: Fix spelling error 'recieved' -> 'received' 2026-04-09 19:41:04 +01:00
tegra30_ahub.c ASoC: tegra30: Convert to RUNTIME_PM_OPS() & co 2025-03-17 10:15:02 +00:00
tegra30_ahub.h
tegra30_i2s.c ASoC: tegra30: Convert to RUNTIME_PM_OPS() & co 2025-03-17 10:15:02 +00:00
tegra30_i2s.h
tegra186_asrc.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra186_asrc.h ASoC: tegra: ASRC: Update ARAM address 2025-05-22 11:02:07 +01:00
tegra186_dspk.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra186_dspk.h
tegra210_admaif.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_admaif.h ASoC: tegra: ADMAIF: Add Tegra264 support 2025-05-22 11:02:06 +01:00
tegra210_adx.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_adx.h ASoC: tegra: ADX: Add Tegra264 support 2025-05-22 11:02:10 +01:00
tegra210_ahub.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_ahub.h ASoC: tegra: Add AHUB writeable_reg for RX holes 2026-01-28 12:12:16 +00:00
tegra210_amx.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_amx.h ASoC: tegra: AMX: Add Tegra264 support 2025-05-22 11:02:10 +01:00
tegra210_dmic.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_dmic.h
tegra210_i2s.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_i2s.h ASoC: tegra: I2S: Add Tegra264 support 2025-05-22 11:02:09 +01:00
tegra210_mbdrc.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_mbdrc.h ASoC: tegra: Fix spelling mistake "fliter" -> "filter" 2022-11-10 17:52:46 +00:00
tegra210_mixer.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_mixer.h
tegra210_mvc.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_mvc.h
tegra210_ope.c ASoC: tegra: Use dev_err_probe() in OPE, PEQ and MBDRC drivers 2026-04-01 14:53:25 +01:00
tegra210_ope.h ASoC: tegra: Add Tegra210 based OPE driver 2022-06-06 12:33:07 +01:00
tegra210_peq.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_peq.h ASoC: tegra: Add Tegra210 based OPE driver 2022-06-06 12:33:07 +01:00
tegra210_sfc.c ASoC: tegra: Add error logging for probe and callback failures 2026-04-01 14:53:29 +01:00
tegra210_sfc.h ASoC: tegra: Fix SFC conversion for few rates 2023-06-24 01:57:16 +01:00