Skip to content
Unverified Commit 4cbb264d authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Mark Brown
Browse files

ASoC: mediatek: mt8173: Enable IRQ when pdata is ready



If the device does not come straight from reset, we might receive an IRQ
before we are ready to handle it.

Fixes:

[    2.334737] Unable to handle kernel read from unreadable memory at virtual address 00000000000001e4
[    2.522601] Call trace:
[    2.525040]  regmap_read+0x1c/0x80
[    2.528434]  mt8173_afe_irq_handler+0x40/0xf0
...
[    2.598921]  start_kernel+0x338/0x42c

Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
Fixes: ee0bcaff ("ASoC: mediatek: Add AFE platform driver")
Link: https://lore.kernel.org/r/20221128-mt8173-afe-v1-0-70728221628f@chromium.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent cecf8179
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment