Re: [PATCH] ASoC: max98373: Added 10ms delay after amp software reset

From: Mark Brown
Date: Thu Aug 23 2018 - 05:51:26 EST


On Wed, Aug 22, 2018 at 05:31:04PM -0700, Dmitry Torokhov wrote:
> On Wed, Aug 22, 2018 at 5:21 PM Ryan Lee <ryans.lee@xxxxxxxxxxxxxxxxxxx> wrote:
> > + mdelay(10);

> Is it really necessary for the CPU to spin for 10msec here?
> usleep_range() would be better solution.

Or msleep() for that matter, it's not going ot be the end of the world
if we delay a bit too long.

Attachment: signature.asc
Description: PGP signature