Re: [PATCH] ASoC: SOF: Intel: hda: Stop the controller before freeing its DMA buffers

From: Mark Brown

Date: Sun Nov 01 2026 - 18:01:11 EST


> hda_dsp_probe() starts the CORB/RIRB DMA engines through
> hda_dsp_ctrl_init_chip(), but neither hda_dsp_remove() nor the error
> path of hda_dsp_probe() stops them before hda_dsp_stream_free() frees
> the CORB/RIRB ring buffer and the position buffer. Unsolicited
> responses also stay enabled, so the controller can keep writing RIRB
> entries into the freed page.

This doesn't apply against current code, please check and resend.

--
Mark Brown <broonie@xxxxxxxxxx>