]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ALSA: hda/tas2781: Drop the unused macro definition
authorShenghao Ding <shenghao-ding@ti.com>
Fri, 23 Jan 2026 00:59:59 +0000 (08:59 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Jan 2026 11:38:56 +0000 (12:38 +0100)
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>
Link: https://patch.msgid.link/20260123010000.1841-1-shenghao-ding@ti.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/side-codecs/tas2781_hda_spi.c

index f8412c5df919557cbc4175624ab5802648a94896..5454b7ac22c6169b1fcd9a570ae2e1541140bb5d 100644 (file)
@@ -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)