Skip to content

Commit b9321d2

Browse files
kv2019ilgirdwood
authored andcommitted
audio: mixin_mixout: fix build when XRUN reporting is disabled
Build fails with CONFIG_XRUN_NOTIFICATIONS_ENABLE=n due to invalid access to "md->eos_delay_configured". Fix the build error by proper ifdefs. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent da1eaa7 commit b9321d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/audio/mixin_mixout/mixin_mixout.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,9 @@ static int mixin_prepare(struct processing_module *mod,
707707
int ret;
708708

709709
comp_info(dev, "entry");
710+
#if CONFIG_XRUN_NOTIFICATIONS_ENABLE
710711
md->eos_delay_configured = false;
712+
#endif
711713

712714
ret = mixin_params(mod);
713715
if (ret < 0)

0 commit comments

Comments
 (0)