Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Shenghao Ding and committed by
Takashi Iwai
b35f42a9 b799d165

+1 -4
+1 -4
sound/hda/codecs/side-codecs/tas2781_hda_spi.c
··· 2 2 // 3 3 // TAS2781 HDA SPI driver 4 4 // 5 - // Copyright 2024 - 2025 Texas Instruments, Inc. 5 + // Copyright 2024 - 2026 Texas Instruments, Inc. 6 6 // 7 7 // Author: Baojun Xu <baojun.xu@ti.com> 8 8 ··· 41 41 #define TASDEVICE_RANGE_MAX_SIZE (256 * 128) 42 42 #define TASDEVICE_WIN_LEN 128 43 43 #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) 47 44 48 45 /* System Reset Check Register */ 49 46 #define TAS2781_REG_CLK_CONFIG TASDEVICE_REG(0x0, 0x0, 0x5c)