13 Apr
2018
13 Apr
'18
4:48 p.m.
-----Original Message----- From: Pierre-Louis Bossart [mailto:pierre-louis.bossart@linux.intel.com] Sent: Friday, April 13, 2018 10:19 PM To: Jie, Yang yang.jie@intel.com; sound-open-firmware@alsa-project.org Subject: Re: [Sound-open-firmware] [PATCH] apl-ssp: fix padding bit issues in I2S/LEFT_J mode
sspsp |= SSPSP_EDMYSTOP((slot_end_padding >> 2) & 0x3);
sspsp |= SSPSP_DMYSTOP(slot_end_padding & 0x3);
We have already macros for those masks, just sent you a patch which you can
combine with.
Did you mean this?
Yep.
Thanks, ~Keyon
- sspsp |= SSPSP_DMYSTOP(SSPSP_DMYSTOP_MASK & dummy_stop);
- sspsp |= SSPSP_EDMYSTOP(SSPSP_EDMYSTOP_MASK &
(dummy_stop >> SSPSP_DMYSTOP_BITS));