فهرست منبع

Revert "ubwcp: Keep UBWC-P powered on after buffer alloc"

This reverts commit ff2498ad42889d5f87a53105d1f660f3c7561674.

No longer needed now that we are doing CMOs with an
un-cached mapping.

Change-Id: I927b93aaf869755a9fe36e77a24874e5b83a331d
Signed-off-by: Liam Mark <[email protected]>
Liam Mark 2 سال پیش
والد
کامیت
7a0417fe15
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      ubwcp/ubwcp_main.c

+ 2 - 1
ubwcp/ubwcp_main.c

@@ -2011,7 +2011,8 @@ static int ubwcp_free_buffer(struct dma_buf *dmabuf)
 		} else {
 			DBG("DONE: calling offline_and_remove_memory() for ULA PA pool");
 		}
-		DBG("Don't Call power OFF ...");
+		DBG("Calling power OFF ...");
+		ubwcp_power(ubwcp, false);
 	}
 	mutex_unlock(&ubwcp->mem_hotplug_lock);
 	return ret;