staging: atomicsp: fix a loop timeout

It's a post-op loop so we timeout with "max_wait" set to -1, not 0.

Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Dan Carpenter 2017-03-14 10:56:44 +03:00 committed by Greg Kroah-Hartman
parent 4cad158910
commit 5304452976

View File

@ -411,7 +411,7 @@ void punit_ddr_dvfs_enable(bool enable)
}
}
if (max_wait == 0)
if (max_wait == -1)
pr_info("DDR DVFS, door bell is not cleared within 3ms\n");
}