drivers: dai: intel: ssp: don't set ACE2.x LCTL::OFLEN
The OFLEN bit has to be set by the host driver for ACE2.x. The ownership of the IP is now handled at the host driver level, no longer the firmware. Setting it at the firmware level is a no-op if the bit is already set by the host driver, and will fail it isn't already set. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
parent
1659aa2e0c
commit
6d9afd36af
1 changed files with 0 additions and 7 deletions
|
@ -733,9 +733,6 @@ static void dai_ssp_pm_runtime_en_ssp_power(struct dai_intel_ssp *dp, uint32_t i
|
|||
ret = dai_ssp_poll_for_register_delay(dai_hdamlssp_base(dp) + I2SLCTL_OFFSET,
|
||||
I2SLCTL_CPA(index), 0,
|
||||
DAI_INTEL_SSP_MAX_SEND_TIME_PER_SAMPLE);
|
||||
sys_write32(sys_read32(dai_hdamlssp_base(dp) + I2SLCTL_OFFSET) | I2SLCTL_OFLEN,
|
||||
dai_hdamlssp_base(dp) + I2SLCTL_OFFSET);
|
||||
|
||||
#else
|
||||
#error need to define SOC
|
||||
#endif
|
||||
|
@ -772,10 +769,6 @@ static void dai_ssp_pm_runtime_dis_ssp_power(struct dai_intel_ssp *dp, uint32_t
|
|||
ret = dai_ssp_poll_for_register_delay(dai_hdamlssp_base(dp) + I2SLCTL_OFFSET,
|
||||
I2SLCTL_CPA(index), I2SLCTL_CPA(index),
|
||||
DAI_INTEL_SSP_MAX_SEND_TIME_PER_SAMPLE);
|
||||
|
||||
sys_write32(sys_read32(dai_hdamlssp_base(dp) + I2SLCTL_OFFSET) & (~I2SLCTL_OFLEN),
|
||||
dai_hdamlssp_base(dp) + I2SLCTL_OFFSET);
|
||||
|
||||
#else
|
||||
#error need to define SOC
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue