Re: [PATCH] drm/mediatek: fix a loop timeout

2017-04-20 Thread Dan Carpenter
I'll send a v2 that does that. regards, dan carpenter ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] drm/mediatek: fix a loop timeout

2017-04-20 Thread Philipp Zabel
Hi Dan, On Thu, 2017-04-20 at 13:24 +0300, Dan Carpenter wrote: > We expected to end with "timeout_ms" set to zero, but it's a post-op so > the current code ends with -1. Let's fix this by changing it to a > pre-op. > > Fixes: 21898816831f ("drm/mediatek: add dsi transfer function") > Signed-off

[PATCH] drm/mediatek: fix a loop timeout

2017-04-20 Thread Dan Carpenter
We expected to end with "timeout_ms" set to zero, but it's a post-op so the current code ends with -1. Let's fix this by changing it to a pre-op. Fixes: 21898816831f ("drm/mediatek: add dsi transfer function") Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drive