From 6113115e47fc7efdb9b71eb979c458a0671a1d75 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Fri, 18 Mar 2016 18:31:07 -0700 Subject: [PATCH] ion: Fix typo in ion system secure heap Correct the function pointer used to unmap. This is not expected to have any functional impact, as both the new and old function pointers were nops. Change-Id: I2f78d5c798d0d2575d52b341aaf29b35294c93f1 Reported-by: Rohit Kulkarni Signed-off-by: Patrick Daly --- drivers/staging/android/ion/ion_system_secure_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/ion_system_secure_heap.c b/drivers/staging/android/ion/ion_system_secure_heap.c index 296a6557a8a1..5c0225cd4e24 100644 --- a/drivers/staging/android/ion/ion_system_secure_heap.c +++ b/drivers/staging/android/ion/ion_system_secure_heap.c @@ -264,7 +264,7 @@ static void ion_system_secure_heap_unmap_dma(struct ion_heap *heap, struct ion_system_secure_heap, heap); - secure_heap->sys_heap->ops->map_dma(secure_heap->sys_heap, + secure_heap->sys_heap->ops->unmap_dma(secure_heap->sys_heap, buffer); }