Re: [PATCH] i40iw: Replace mdelay with msleep in i40iw_wait_pe_ready
From: Doug Ledford
Date: Fri Jan 05 2018 - 13:47:18 EST
On Fri, 2018-01-05 at 11:44 -0600, Shiraz Saleem wrote:
> On Sun, Dec 24, 2017 at 03:39:40AM -0700, Jia-Ju Bai wrote:
> > i40iw_wait_pe_ready is not called in an interrupt handler
> > nor holding a spinlock.
> > The function mdelay in it can be replaced with msleep,
> > to reduce busy wait.
> >
> > Signed-off-by: Jia-Ju Bai <baijiaju1990@xxxxxxxxx>
> > ---
> > drivers/infiniband/hw/i40iw/i40iw_main.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> Thanks!
> Acked-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>
>
>
Thanks, applied.
--
Doug Ledford <dledford@xxxxxxxxxx>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDDAttachment:
signature.asc
Description: This is a digitally signed message part