File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -864,7 +864,7 @@ static void dai_ssp_program_channel_map(struct dai_intel_ssp *dp,
864864 /* Set upper slot number from configuration */
865865 pcmsycm = pcmsycm | (dp -> ssp_plat_data -> params .tdm_slots - 1 ) << 4 ;
866866
867- if (DAI_INTEL_SSP_IS_BIT_SET (cfg -> link_config , 15 )) {
867+ if (IS_BIT_SET (cfg -> link_config , 15 )) {
868868 uint32_t reg_add = dai_ip_base (dp ) + 0x1000 * ssp_index + PCMS0CM_OFFSET ;
869869 /* Program HDA output stream parameters */
870870 sys_write16 ((pcmsycm & 0xffff ), reg_add );
@@ -880,7 +880,7 @@ static void dai_ssp_program_channel_map(struct dai_intel_ssp *dp,
880880 uint16_t pcmsycm = cfg -> link_config ;
881881 uint8_t slot_count = 0 ;
882882
883- if (DAI_INTEL_SSP_IS_BIT_SET (cfg -> link_config , 15 )) {
883+ if (IS_BIT_SET (cfg -> link_config , 15 )) {
884884 if (blob30 -> version == SSP_BLOB_VER_3_0 ) {
885885 time_slot_map =
886886 blob30 -> i2s_ssp_config .ssmidytsa [cfg -> tdm_slot_group ];
Original file line number Diff line number Diff line change 3939 (((x) & (1ULL << (b))) >> (b))
4040#define DAI_INTEL_SSP_GET_BITS (b_hi , b_lo , x ) \
4141 (((x) & MASK(b_hi, b_lo)) >> (b_lo))
42- #define DAI_INTEL_SSP_IS_BIT_SET (reg , bit ) (((reg >> bit) & (0x1)) != 0)
4342
4443/* ssp_freq array constants */
4544#define DAI_INTEL_SSP_NUM_FREQ 3
You can’t perform that action at this time.
0 commit comments