{"id":2228327,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2228327/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-tegra/patch/20260426000249.54799-1-sashal@kernel.org/","project":{"id":21,"url":"http://patchwork.ozlabs.org/api/1.1/projects/21/?format=json","name":"Linux Tegra Development","link_name":"linux-tegra","list_id":"linux-tegra.vger.kernel.org","list_email":"linux-tegra@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260426000249.54799-1-sashal@kernel.org>","date":"2026-04-26T00:02:49","name":"ASoC: tegra: Remove stale snd-soc-tegra-utils composite module definition","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"ee0603b49755594dc7e2d4fc1d1b042d8aab3eb1","submitter":{"id":75065,"url":"http://patchwork.ozlabs.org/api/1.1/people/75065/?format=json","name":"Sasha Levin","email":"sashal@kernel.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-tegra/patch/20260426000249.54799-1-sashal@kernel.org/mbox/","series":[{"id":501493,"url":"http://patchwork.ozlabs.org/api/1.1/series/501493/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-tegra/list/?series=501493","date":"2026-04-26T00:02:49","name":"ASoC: tegra: Remove stale snd-soc-tegra-utils composite module definition","version":1,"mbox":"http://patchwork.ozlabs.org/series/501493/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2228327/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2228327/checks/","tags":{},"headers":{"Return-Path":"\n <linux-tegra+bounces-13965-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-tegra@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=eNGtMeHN;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-tegra+bounces-13965-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"eNGtMeHN\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"],"Received":["from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g36Mz1RP2z1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 10:02:55 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 3F857300C909\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 00:02:53 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 7F4528460;\n\tSun, 26 Apr 2026 00:02:52 +0000 (UTC)","from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 4038E28F5;\n\tSun, 26 Apr 2026 00:02:52 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id A7A5AC2BCB0;\n\tSun, 26 Apr 2026 00:02:50 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777161772; cv=none;\n b=Z0n5MwC4+lvB0X7hmmDR2sR3xfdYWqF/TaZ4P7YKRg+F7vbX3uva0xVtmEtVPLXMrYWZW2wTLpwEe6wPv6jK4dgkpZnK4O/vepQJvqKWkDH15yo19vrBZj+ANC4nQRkO5MviwmFzgO/EIcV8pUAcFPs4P5rgq6iALJU2JBv81V8=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777161772; c=relaxed/simple;\n\tbh=BHseaMuIagpoO9jrUkIF1FcsO979B0BZteW6pp2JoQY=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type;\n b=EhMi0stMUX/BXePhKMUmjclRmyywhPcuhWKIcbImrnNnTzUkxfSSrEIpeVynlf7gNd4ENbIIxXSTMDCjcECg1f/cI/kzut6uIYKCQ9zJi2AR7+qCSVBqaZlv5ylvvaVehl4IuwknflD5Qfv9SfK5KU6DMmV1TzdaxzB4rDap5Wk=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=eNGtMeHN; arc=none smtp.client-ip=10.30.226.201","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1777161771;\n\tbh=BHseaMuIagpoO9jrUkIF1FcsO979B0BZteW6pp2JoQY=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=eNGtMeHNnGXje2hc+WAAMVNLv4Rn4kMK2mnzZIHTTuDJWqmlIR7YwqyA7SgG9dSYm\n\t GwphvxtLY2xl0BZaezF3I8dqVUcx//SqTN0u9fyuQg+PocNTRtnmkE13PSYAxTieZw\n\t pzXujfSCiJREem736jl4O7oT/tN0896ltxemUlteRldyH3LH1Kl7bCO9631zSBqePX\n\t S7AiJr83y7YfXjhwWSlzE1cyH2bxWs8PqCSbM6OzyJEihp3OenlodaVYIfHBBoSsHK\n\t qqu3OaDxmE/vFRdW+Q0aZe1alfBE36RZ5lKpjClitz5y8w1vyujmBw3IdkHO71A2v/\n\t CRxDoaqnDRldQ==","From":"Sasha Levin <sashal@kernel.org>","To":"Liam Girdwood <lgirdwood@gmail.com>","Cc":"Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,\n Takashi Iwai <tiwai@suse.com>, Thierry Reding <thierry.reding@kernel.org>,\n Jonathan Hunter <jonathanh@nvidia.com>,\n Svyatoslav Ryhel <clamor95@gmail.com>, Sasha Levin <sashal@kernel.org>,\n\t=?utf-8?q?Jonas_Schw=C3=B6bel?= <jonasschwoebel@yahoo.de>,\n linux-sound@vger.kernel.org, linux-tegra@vger.kernel.org,\n linux-kernel@vger.kernel.org","Subject":"[PATCH] ASoC: tegra: Remove stale snd-soc-tegra-utils composite\n module definition","Date":"Sat, 25 Apr 2026 20:02:49 -0400","Message-ID":"<20260426000249.54799-1-sashal@kernel.org>","X-Mailer":"git-send-email 2.53.0","Precedence":"bulk","X-Mailing-List":"linux-tegra@vger.kernel.org","List-Id":"<linux-tegra.vger.kernel.org>","List-Subscribe":"<mailto:linux-tegra+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-tegra+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit"},"content":"kconfiglint reports two warnings for sound/soc/tegra/Makefile:\n\n  M002: composite module 'snd-soc-tegra-utils' defined but not in any obj-*\n  M008: composite module 'snd-soc-tegra-utils': tegra_asoc_utils.o has no\n        source file\n\nThe composite module definition\n`snd-soc-tegra-utils-y += tegra_asoc_utils.o` references a source file that\nno longer exists and defines a module that is never included in any obj-*\ntarget.\n\nThe tegra_asoc_utils module was originally introduced in commit\na3cd50deef7b (\"ASoC: Tegra: Move utilities to separate module\") by Stephen\nWarren in 2011 to provide shared clock/rate utility functions for Tegra\nmachine drivers. At that time, the Makefile had both the composite\ndefinition (`snd-soc-tegra-utils-objs`) and the build target\n(`obj-$(CONFIG_SND_TEGRA_SOC) += snd-soc-tegra-utils.o`).\n\nIn 2021,\ncommit 8c1b3b159300 (\"ASoC: tegra: Squash utils into common machine\ndriver\")\nby Dmitry Osipenko merged tegra_asoc_utils.c into tegra_asoc_machine.c,\ndeleting both the .c and .h files. That commit correctly removed the obj-*\nbuild target line but overlooked the composite module definition line\n(`snd-soc-tegra-utils-objs += tegra_asoc_utils.o`).\n\nThe orphaned line persisted unnoticed and was even mechanically updated in\n2024 by\ncommit 51a50d6ad727 (\"ASoC: tegra: Use *-y instead of *-objs in\nMakefile\")\nby Takashi Iwai, which converted it from `-objs` to `-y` syntax as part of\na treewide cleanup — inadvertently refreshing a stale definition.\n\nRemove the orphaned composite module definition since it serves no purpose:\nthe source file was deleted, the obj-* target was already removed, and the\nfunctionality now lives in tegra_asoc_machine.c.\n\nAssisted-by: Claude:claude-opus-4-6 kconfiglint\nSigned-off-by: Sasha Levin <sashal@kernel.org>\n---\n sound/soc/tegra/Makefile | 1 -\n 1 file changed, 1 deletion(-)","diff":"diff --git a/sound/soc/tegra/Makefile b/sound/soc/tegra/Makefile\nindex 3f396c87802ed..1c18ef6971c09 100644\n--- a/sound/soc/tegra/Makefile\n+++ b/sound/soc/tegra/Makefile\n@@ -1,7 +1,6 @@\n # SPDX-License-Identifier: GPL-2.0\n # Tegra platform Support\n snd-soc-tegra-pcm-y := tegra_pcm.o\n-snd-soc-tegra-utils-y += tegra_asoc_utils.o\n snd-soc-tegra20-ac97-y := tegra20_ac97.o\n snd-soc-tegra20-das-y := tegra20_das.o\n snd-soc-tegra20-i2s-y := tegra20_i2s.o\n","prefixes":[]}