Ver Fonte

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 <[email protected]>
Liam Mark há 2 anos atrás
pai
commit
ff2498ad42
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      ubwcp/ubwcp.c

+ 1 - 2
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;