qcom: display: CEC bugfixes
* Correctly read and pass physical address
* Handle system control
* Use Google Vendor ID
Change-Id: I964fb4b590a0b952d7c8290aef6365d62a2418f0
diff --git a/hdmi_cec/QHDMIClient.cpp b/hdmi_cec/QHDMIClient.cpp
index 176779a..2b2b1e6 100644
--- a/hdmi_cec/QHDMIClient.cpp
+++ b/hdmi_cec/QHDMIClient.cpp
@@ -27,6 +27,7 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#define DEBUG 0
#include <QServiceUtils.h>
#include "QHDMIClient.h"
@@ -49,7 +50,7 @@
void QHDMIClient::onCECMessageRecieved(char *msg, ssize_t len)
{
- ALOGD("%s: CEC message received len: %zd", __FUNCTION__, len);
+ ALOGD_IF(DEBUG, "%s: CEC message received len: %zd", __FUNCTION__, len);
cec_receive_message(mCtx, msg, len);
}