From ff2498ad42889d5f87a53105d1f660f3c7561674 Mon Sep 17 00:00:00 2001 From: Liam Mark Date: Tue, 15 Nov 2022 16:01:58 -0800 Subject: [PATCH] ubwcp: Keep UBWC-P powered on after buffer alloc Always keep UBWC-P powered on after first UBWC-P buffer is allocated. Change-Id: If1785e53f8b9015032094ba20ead7b2cb6f05f63 Signed-off-by: Liam Mark --- ubwcp/ubwcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ubwcp/ubwcp.c b/ubwcp/ubwcp.c index f7c3305146..2390df680e 100644 --- a/ubwcp/ubwcp.c +++ b/ubwcp/ubwcp.c @@ -1852,8 +1852,7 @@ static int ubwcp_free_buffer(struct dma_buf *dmabuf) } else { DBG("DONE: calling remove_memory() for ULA PA pool"); } - DBG("Calling power OFF ..."); - ubwcp_power(ubwcp, false); + DBG("Don't Call power OFF ..."); } mutex_unlock(&ubwcp->buf_table_lock); return ret;