aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/starfive
diff options
context:
space:
mode:
authorWalker Chen <walker.chen@starfivetech.com>2023-06-08 21:57:50 +0800
committerMark Brown <broonie@kernel.org>2023-06-09 10:44:35 +0100
commit8bd81864533bd02d6922deadeed643c813dfe142 (patch)
tree13f7c1ae7b4b4af1f71525dc5a87211d0f55c5a1 /sound/soc/starfive
parentASoC: starfive: Fix an error check in jh7110_tdm_clk_reset_get() (diff)
downloadwireguard-linux-8bd81864533bd02d6922deadeed643c813dfe142.tar.xz
wireguard-linux-8bd81864533bd02d6922deadeed643c813dfe142.zip
ASoC: starfive: Remove some unused macros
These macros are unused and can be dropped. Signed-off-by: Walker Chen <walker.chen@starfivetech.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230608135750.11041-3-walker.chen@starfivetech.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/starfive')
-rw-r--r--sound/soc/starfive/jh7110_tdm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/starfive/jh7110_tdm.c b/sound/soc/starfive/jh7110_tdm.c
index a9a3d52bdd2a..e4bdba20c499 100644
--- a/sound/soc/starfive/jh7110_tdm.c
+++ b/sound/soc/starfive/jh7110_tdm.c
@@ -25,11 +25,8 @@
#include <sound/soc-dai.h>
#define TDM_PCMGBCR 0x00
- #define PCMGBCR_MASK 0x1e
#define PCMGBCR_ENABLE BIT(0)
- #define PCMGBCR_TRITXEN BIT(4)
#define CLKPOL_BIT 5
- #define TRITXEN_BIT 4
#define ELM_BIT 3
#define SYNCM_BIT 2
#define MS_BIT 1
@@ -42,11 +39,6 @@
#define LRJ_BIT 1
#define TDM_PCMRXCR 0x08
#define PCMRXCR_RXEN BIT(0)
- #define PCMRXCR_RXSL_MASK 0xc
- #define PCMRXCR_RXSL_16BIT 0x4
- #define PCMRXCR_RXSL_32BIT 0x8
- #define PCMRXCR_SCALE_MASK 0xf0
- #define PCMRXCR_SCALE_1CH 0x10
#define TDM_PCMDIV 0x0c
#define JH7110_TDM_FIFO 0x170c0000