21 Nov
2018
21 Nov
'18
2:21 p.m.
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.