drm/msm: check for equals 0 only
authorNicholas Mc Guire <hofrat@osadl.org>
Thu, 25 Apr 2019 14:03:51 +0000 (16:03 +0200)
committerRob Clark <robdclark@chromium.org>
Tue, 18 Jun 2019 18:28:14 +0000 (11:28 -0700)
commit9a4a153b092c9f89dfa2766d48b61af251ea5697
tree82ac804cd09b54b539fbb87f469106e9600c79a1
parentd3cb8f3d0fb2a334690e090f6ddb6bfcfbc7b4ce
drm/msm: check for equals 0 only

wait_for_completion_timeout() returns 0 on timeout and aleast 1 otherwise
so checking for < makes no sense here.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dsi/dsi_host.c