xtensa: ADSP: fix disabling the IDC interrupt
To disable the IDC interrupt on the interrupt controller a bit must be set in the MSD register instead of clearing the bit in the MCD register, which has no effect. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
aef4edddfa
commit
deb57e3b85
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ void arch_start_cpu(int cpu_num, k_thread_stack_t *stack, int sz,
|
||||||
idc_reg = idc_read(IPC_IDCCTL, cpu_num);
|
idc_reg = idc_read(IPC_IDCCTL, cpu_num);
|
||||||
idc_reg &= ~IPC_IDCCTL_IDCTBIE(0);
|
idc_reg &= ~IPC_IDCCTL_IDCTBIE(0);
|
||||||
idc_write(IPC_IDCCTL, cpu_num, idc_reg);
|
idc_write(IPC_IDCCTL, cpu_num, idc_reg);
|
||||||
sys_clear_bit(DT_REG_ADDR(DT_NODELABEL(cavs0)) + 0x04 +
|
sys_set_bit(DT_REG_ADDR(DT_NODELABEL(cavs0)) + 0x00 +
|
||||||
CAVS_ICTL_INT_CPU_OFFSET(cpu_num), 8);
|
CAVS_ICTL_INT_CPU_OFFSET(cpu_num), 8);
|
||||||
|
|
||||||
while (start_rec.alive == 0) {
|
while (start_rec.alive == 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue