PD #000001: Fix error in condition of skipping power domain
authorKasin Lee <kasin.li@amlogic.com>
Thu, 22 Jan 2015 13:48:36 +0000 (21:48 +0800)
committerKasin Lee <kasin.li@amlogic.com>
Thu, 22 Jan 2015 13:48:36 +0000 (21:48 +0800)
Change-Id: I67f7c6065f9dff41083aaba0187c9372e1c6c96a

mali/common/mali_l2_cache.c

index 2286c68b8d9a10f83d1b66a89cf6b98e27ac23bd..7482e78c07e2f518ca5caa8abe295e9818934ec4 100755 (executable)
@@ -470,7 +470,7 @@ static void mali_l2_cache_reset(struct mali_l2_cache_core *cache)
        MALI_DEBUG_ASSERT_LOCK_HELD(cache->lock);
 
        /* Kasin Added, skip off power domain. */
-       if (cache && cache->pm_domain && cache->pm_domain->power_is_on == MALI_TRUE) {
+       if (cache && cache->pm_domain && cache->pm_domain->power_is_on == MALI_FALSE) {
                return;
        }