Skip to content

Commit b35f42a

Browse files
Shenghao-Dingtiwai
authored andcommitted
ALSA: hda/tas2781: Drop the unused macro definition
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>
1 parent b799d16 commit b35f42a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

sound/hda/codecs/side-codecs/tas2781_hda_spi.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// TAS2781 HDA SPI driver
44
//
5-
// Copyright 2024 - 2025 Texas Instruments, Inc.
5+
// Copyright 2024 - 2026 Texas Instruments, Inc.
66
//
77
// Author: Baojun Xu <baojun.xu@ti.com>
88

@@ -41,9 +41,6 @@
4141
#define TASDEVICE_RANGE_MAX_SIZE (256 * 128)
4242
#define TASDEVICE_WIN_LEN 128
4343
#define TAS2781_SPI_MAX_FREQ (4 * HZ_PER_MHZ)
44-
/* Flag of calibration registers address. */
45-
#define TASDEVICE_CALIBRATION_REG_ADDRESS BIT(7)
46-
#define TASDEV_UEFI_CALI_REG_ADDR_FLG BIT(7)
4744

4845
/* System Reset Check Register */
4946
#define TAS2781_REG_CLK_CONFIG TASDEVICE_REG(0x0, 0x0, 0x5c)

0 commit comments

Comments
 (0)