From 97499e0e66f97479df3f50345616e324f9ad3644 Mon Sep 17 00:00:00 2001 From: Vinil Cheeramvelil Date: Wed, 10 Sep 2014 06:29:33 +0800 Subject: hwc: Enabling ION - HWC Calling a libwsbm function with fd value (-1) Orig-Author: Randy Xu Bug: 18731042 BZ: 230505 Change-Id: I6a7a218c7fd6a5af6f4e0eea9cfef1ffca6752db Signed-off-by: Dale Stimson --- moorefield_hdmi/ips/common/WsbmWrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'moorefield_hdmi/ips') diff --git a/moorefield_hdmi/ips/common/WsbmWrapper.c b/moorefield_hdmi/ips/common/WsbmWrapper.c index 8080529..8d7c275 100644 --- a/moorefield_hdmi/ips/common/WsbmWrapper.c +++ b/moorefield_hdmi/ips/common/WsbmWrapper.c @@ -178,7 +178,7 @@ int psbWsbmAllocateFromUB(uint32_t size, uint32_t align, void ** buf, void *user ret = wsbmBODataUB(wsbmBuf, align_to(size, 4096), NULL, NULL, 0, - user_pt); + user_pt, -1); if(ret) { ELOGTRACE("wsbmBOData failed with error code %d", ret); @@ -296,7 +296,7 @@ int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr) } wsbmBuf = (struct _WsbmBufferObject *)buf; - ret = wsbmBODataUB(wsbmBuf, size, NULL, NULL, 0, vaddr); + ret = wsbmBODataUB(wsbmBuf, size, NULL, NULL, 0, vaddr, -1); if (ret) { ELOGTRACE("wsbmBODataUB failed with error code %d", ret); return ret; -- cgit v1.2.3