mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-03-23 03:38:05 +08:00
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:
parent
4cad158910
commit
5304452976
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user