qcom: display: CEC bugfixes
* Correctly read and pass physical address
* Handle system control
* Use Google Vendor ID
Change-Id: I964fb4b590a0b952d7c8290aef6365d62a2418f0
diff --git a/libhwcomposer/hwc_vsync.cpp b/libhwcomposer/hwc_vsync.cpp
index d9dc27c..1a7a836 100644
--- a/libhwcomposer/hwc_vsync.cpp
+++ b/libhwcomposer/hwc_vsync.cpp
@@ -33,6 +33,7 @@
#include "overlay.h"
#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>
+#define DEBUG 0
using namespace qdutils;
namespace qhwc {
@@ -101,7 +102,8 @@
static void handle_cec_event(hwc_context_t* ctx, int dpy, char *data,
ssize_t len)
{
- ALOGD("%s: Got CEC event from driver dpy:%d", __FUNCTION__, dpy);
+ ALOGD_IF(DEBUG, "%s: Got CEC event from driver dpy:%d",
+ __FUNCTION__, dpy);
ctx->mQService->onCECMessageReceived(data, len);
}