Re: [PATCH] ASoC: SOF: Don't allow pointer operations on unconfigured streams
From: Mark Brown
Date: Fri Mar 27 2026 - 12:50:05 EST
On Fri, Mar 27, 2026 at 02:09:40AM +0000, Liao, Bard wrote:
> > + if (!sstream->channels || !sstream->sample_container_bytes)
> > + return -EBUSY;
> Sorry, but why it is BUSY in this case?
-EBUSY is often "wrong state". Could also be -EINVAL, it doesn't super
make a difference I think - nobody should actually be doing this.
Attachment:
signature.asc
Description: PGP signature