public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] ALSA: hda/tas2781: Drop the unused macro definition
@ 2026-01-23  0:59 Shenghao Ding
  2026-01-23 11:39 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Shenghao Ding @ 2026-01-23  0:59 UTC (permalink / raw)
  To: tiwai
  Cc: broonie, andriy.shevchenko, linux-kernel, baojun.xu, Baojun.Xu,
	13564923607, 13916275206, Shenghao Ding

Niether TASDEVICE_CALIBRATION_REG_ADDRESS nor TASDEV_UEFI_CALI_REG_ADDR_FLG
is referenced in the code, drop both.

Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>

---
v1:
 - Update the year to 2026.
 - Drop the unused macro definition.
---
 sound/hda/codecs/side-codecs/tas2781_hda_spi.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sound/hda/codecs/side-codecs/tas2781_hda_spi.c b/sound/hda/codecs/side-codecs/tas2781_hda_spi.c
index f8412c5df919..5454b7ac22c6 100644
--- a/sound/hda/codecs/side-codecs/tas2781_hda_spi.c
+++ b/sound/hda/codecs/side-codecs/tas2781_hda_spi.c
@@ -2,7 +2,7 @@
 //
 // TAS2781 HDA SPI driver
 //
-// Copyright 2024 - 2025 Texas Instruments, Inc.
+// Copyright 2024 - 2026 Texas Instruments, Inc.
 //
 // Author: Baojun Xu <baojun.xu@ti.com>
 
@@ -41,9 +41,6 @@
 #define TASDEVICE_RANGE_MAX_SIZE	(256 * 128)
 #define TASDEVICE_WIN_LEN		128
 #define TAS2781_SPI_MAX_FREQ		(4 * HZ_PER_MHZ)
-/* Flag of calibration registers address. */
-#define TASDEVICE_CALIBRATION_REG_ADDRESS	BIT(7)
-#define TASDEV_UEFI_CALI_REG_ADDR_FLG	BIT(7)
 
 /* System Reset Check Register */
 #define TAS2781_REG_CLK_CONFIG		TASDEVICE_REG(0x0, 0x0, 0x5c)
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] ALSA: hda/tas2781: Drop the unused macro definition
  2026-01-23  0:59 [PATCH v1] ALSA: hda/tas2781: Drop the unused macro definition Shenghao Ding
@ 2026-01-23 11:39 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-01-23 11:39 UTC (permalink / raw)
  To: Shenghao Ding
  Cc: tiwai, broonie, andriy.shevchenko, linux-kernel, baojun.xu,
	Baojun.Xu, 13564923607, 13916275206

On Fri, 23 Jan 2026 01:59:59 +0100,
Shenghao Ding wrote:
> 
> Niether TASDEVICE_CALIBRATION_REG_ADDRESS nor TASDEV_UEFI_CALI_REG_ADDR_FLG
> is referenced in the code, drop both.
> 
> Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>

Applied to for-next branch.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-23 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23  0:59 [PATCH v1] ALSA: hda/tas2781: Drop the unused macro definition Shenghao Ding
2026-01-23 11:39 ` Takashi Iwai

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