File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 57
57
#define TAS2562_TDM_CFG0_RAMPRATE_MASK BIT(5)
58
58
#define TAS2562_TDM_CFG0_RAMPRATE_44_1 BIT(5)
59
59
#define TAS2562_TDM_CFG0_SAMPRATE_MASK GENMASK(3, 1)
60
- #define TAS2562_TDM_CFG0_SAMPRATE_7305_8KHZ 0x0
61
- #define TAS2562_TDM_CFG0_SAMPRATE_14_7_16KHZ 0x1
62
- #define TAS2562_TDM_CFG0_SAMPRATE_22_05_24KHZ 0x2
63
- #define TAS2562_TDM_CFG0_SAMPRATE_29_4_32KHZ 0x3
64
- #define TAS2562_TDM_CFG0_SAMPRATE_44_1_48KHZ 0x4
65
- #define TAS2562_TDM_CFG0_SAMPRATE_88_2_96KHZ 0x5
66
- #define TAS2562_TDM_CFG0_SAMPRATE_176_4_192KHZ 0x6
60
+ #define TAS2562_TDM_CFG0_SAMPRATE_7305_8KHZ ( 0x0 << 1)
61
+ #define TAS2562_TDM_CFG0_SAMPRATE_14_7_16KHZ ( 0x1 << 1)
62
+ #define TAS2562_TDM_CFG0_SAMPRATE_22_05_24KHZ ( 0x2 << 1)
63
+ #define TAS2562_TDM_CFG0_SAMPRATE_29_4_32KHZ ( 0x3 << 1)
64
+ #define TAS2562_TDM_CFG0_SAMPRATE_44_1_48KHZ ( 0x4 << 1)
65
+ #define TAS2562_TDM_CFG0_SAMPRATE_88_2_96KHZ ( 0x5 << 1)
66
+ #define TAS2562_TDM_CFG0_SAMPRATE_176_4_192KHZ ( 0x6 << 1)
67
67
68
68
#define TAS2562_TDM_CFG2_RIGHT_JUSTIFY BIT(6)
69
69
You can’t perform that action at this time.
0 commit comments