Re: [PATCH] pcmcia: pcmcia_resource: Replace mdelay() with msleep()
From: Dominik Brodowski
Date: Mon Oct 01 2018 - 07:02:01 EST
On Mon, Jul 30, 2018 at 09:42:56PM +0800, Jia-Ju Bai wrote:
> pcmcia_fixup_iowidth() and pcmcia_enable_device() are
> never called in atomic context.
> They call mdelay() to busily wait, which is not necessary.
> mdelay() can be replaced with msleep().
>
> This is found by a static analysis tool named DCNS written by myself.
>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@xxxxxxxxx>
Applied to pcmcia-next, thanks.
Dominik