Skip to content

Commit 1cfee18

Browse files
singalsukeyonjie
authored andcommitted
Drivers: Intel: DMIC: Run dmic_work() in the same core as other driver
Previously the gain ramp updates were executed in core 0 only even if rest of driver was executed in other core. It caused issues with driver state variables in cached memory. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent b4f7438 commit 1cfee18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drivers/intel/dmic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@ static int dmic_probe(struct dai *dai)
16011601
/* Initialize start sequence handler */
16021602
schedule_task_init_ll(&dmic->dmicwork, SOF_UUID(dmic_work_task_uuid),
16031603
SOF_SCHEDULE_LL_TIMER,
1604-
SOF_TASK_PRI_MED, dmic_work, dai, 0, 0);
1604+
SOF_TASK_PRI_MED, dmic_work, dai, cpu_get_id(), 0);
16051605

16061606
/* Enable DMIC power */
16071607
pm_runtime_get_sync(DMIC_POW, dai->index);

0 commit comments

Comments
 (0)