Re: [PATCH] drm: gma500: Replace 120ms mdelay calls in mdfld_dsi_pkg_sender.c

2018-10-03 Thread Phillip Potter
On Tue, Oct 02, 2018 at 09:52:51AM +0200, Patrik Jakobsson wrote: > Hi Phillip, > This is executed while holding a spinlock so we cannot sleep here. > This is true for send_pkg_done() as well. > > - Patrik Dear Patrik, Oops, sorry. I'll try and be more observant in future. Just picked up on

Re: [PATCH] drm: gma500: Replace 120ms mdelay calls in mdfld_dsi_pkg_sender.c

2018-10-02 Thread Patrik Jakobsson
On Tue, Oct 2, 2018 at 10:23 AM Phillip Potter wrote: > > On Tue, Oct 02, 2018 at 09:52:51AM +0200, Patrik Jakobsson wrote: > > Hi Phillip, > > This is executed while holding a spinlock so we cannot sleep here. > > This is true for send_pkg_done() as well. > > > > - Patrik > > Dear Patrik, > >

Re: [PATCH] drm: gma500: Replace 120ms mdelay calls in mdfld_dsi_pkg_sender.c

2018-10-02 Thread Patrik Jakobsson
On Mon, Oct 1, 2018 at 5:36 PM Phillip Potter wrote: > > Replace all 120ms mdelay macro calls with msleep function calls. As msleep is > not suitable for < 20ms sleeps, also remove comment from mdelay(5) call. > > Signed-off-by: Phillip Potter > --- > diff --git

[PATCH] drm: gma500: Replace 120ms mdelay calls in mdfld_dsi_pkg_sender.c

2018-10-02 Thread Phillip Potter
Replace all 120ms mdelay macro calls with msleep function calls. As msleep is not suitable for < 20ms sleeps, also remove comment from mdelay(5) call. Signed-off-by: Phillip Potter --- diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c