mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
ASoC: SOF: Intel: hda-loader: clear the IPC ack bit after FW_PURGE done
Set DONE bit after the FW_PURGE IPC is polled successfully, to clear the interrupt and avoid the arrival of the confusing unexpected ipc. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
parent
2a37cf0b8b
commit
0e1a9616fa
|
|
@ -131,6 +131,12 @@ static int cl_dsp_init(struct snd_sof_dev *sdev, const void *fwdata,
|
|||
goto err;
|
||||
}
|
||||
|
||||
/* set DONE bit to clear the reply IPC message */
|
||||
snd_sof_dsp_update_bits_forced(sdev, HDA_DSP_BAR,
|
||||
chip->ipc_ack,
|
||||
chip->ipc_ack_mask,
|
||||
chip->ipc_ack_mask);
|
||||
|
||||
/* step 5: power down corex */
|
||||
ret = hda_dsp_core_power_down(sdev,
|
||||
chip->cores_mask & ~(HDA_DSP_CORE_MASK(0)));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user