On Mon, Nov 19, 2018 at 10:23:05PM +0530, Jenny TC wrote: > + switch (cmd) { > + case SNDRV_PCM_TRIGGER_STOP: > + if (dmic->modeswitch_delay) > + mdelay(dmic->modeswitch_delay); Given that this is a busy waiting delay in atomic context it would be better to have some validation when we parse the property to make sure the value is half way sensible.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel