diff options
author | Tom Rini <trini@konsulko.com> | 2019-02-28 14:22:03 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-28 14:22:03 -0500 |
commit | 7869e647a60ae706457bb601a3c2ea51e9fdd413 (patch) | |
tree | 2e77dd316e2c5899f780ac6cf037117420d7febd /arch/arm/lib | |
parent | 783e66816d101f970b185083377846059d4d577d (diff) | |
parent | 438dcabb75d6b9b0e7f887befb753d1863f14deb (diff) |
Merge branch '2019-02-29-master-imports'
- Assorted BSP fixes
- Kbuild fix
Diffstat (limited to 'arch/arm/lib')
-rw-r--r-- | arch/arm/lib/cache-pl310.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/cache-pl310.c b/arch/arm/lib/cache-pl310.c index 1296ba6efd..bbaaaa4157 100644 --- a/arch/arm/lib/cache-pl310.c +++ b/arch/arm/lib/cache-pl310.c @@ -33,7 +33,7 @@ static void pl310_background_op_all_ways(u32 *op_reg) /* Invalidate all ways */ writel(way_mask, op_reg); /* Wait for all ways to be invalidated */ - while (readl(op_reg) && way_mask) + while (readl(op_reg) & way_mask) ; pl310_cache_sync(); } |