From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/sound/soc/codecs/rk_codec_digital.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/kernel/sound/soc/codecs/rk_codec_digital.h b/kernel/sound/soc/codecs/rk_codec_digital.h index 4bb409b..79e01b4 100644 --- a/kernel/sound/soc/codecs/rk_codec_digital.h +++ b/kernel/sound/soc/codecs/rk_codec_digital.h @@ -288,9 +288,14 @@ #define ACDCDIG_I2S_RXCR1_RCSR_2CH (0x0 << 6) /* I2S_CKR0 */ #define ACDCDIG_I2S_CKR0_TSD_MASK GENMASK(1, 0) -#define ACDCDIG_I2S_CKR0_TSD(x) ((x) << 0) +#define ACDCDIG_I2S_CKR0_TSD_64 (0 << 0) +#define ACDCDIG_I2S_CKR0_TSD_128 (1 << 0) +#define ACDCDIG_I2S_CKR0_TSD_256 (2 << 0) #define ACDCDIG_I2S_CKR0_RSD_MASK GENMASK(3, 2) -#define ACDCDIG_I2S_CKR0_RSD(x) ((x) << 2) +#define ACDCDIG_I2S_CKR0_RSD_64 (0 << 2) +#define ACDCDIG_I2S_CKR0_RSD_128 (1 << 2) +#define ACDCDIG_I2S_CKR0_RSD_256 (2 << 2) + /* I2S_CKR1 */ #define ACDCDIG_I2S_CKR1_TLP_MASK BIT(0) #define ACDCDIG_I2S_CKR1_TLP_INVERTED BIT(0) -- Gitblit v1.6.2