Skip to content

Commit b50746a

Browse files
committed
dai: (cosmetic) fix an open-coded notifier call
Use NOTIFIER_TARGET_CORE_LOCAL instead of open coding it. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 0e6b917 commit b50746a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/audio/dai-zephyr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ int dai_common_trigger(struct dai_data *dd, struct comp_dev *dev, int cmd)
14551455

14561456
irq_local_disable(irq_flags);
14571457
notifier_event(group, NOTIFIER_ID_DAI_TRIGGER,
1458-
BIT(cpu_get_id()), NULL, 0);
1458+
NOTIFIER_TARGET_CORE_LOCAL, NULL, 0);
14591459
irq_local_enable(irq_flags);
14601460

14611461
/* return error of last trigger */

0 commit comments

Comments
 (0)