Re: [PATCH] ASoC: SOF: Don't allow pointer operations on unconfigured streams
From: Mark Brown
Date: Mon Mar 30 2026 - 07:13:47 EST
On Mon, Mar 30, 2026 at 10:01:59AM +0300, Péter Ujfalusi wrote:
> Should this be fixed in core level to avoid repeating the same check in
> every driver?
I did wonder about that but wasn't sure if there might be some viable
use case, especially for things proxying through to a DSP or something.
We don't generally guard calls based on the state the stream is in, and
not every implementation is going to try to do the division.
Attachment:
signature.asc
Description: PGP signature