From 7da514c6ad71a6c098bb1db1315498e404ca6c36 Mon Sep 17 00:00:00 2001 From: Jing Wei Date: Mon, 07 Nov 2016 10:05:35 +0000 Subject: PD#132699: perfect for api. Change-Id: I0c939d78a27def204a3daa59b3a28dbe0a11416f --- diff --git a/hdmi_cec.cpp b/hdmi_cec.cpp index 9436801..804ac31 100644 --- a/hdmi_cec.cpp +++ b/hdmi_cec.cpp @@ -173,7 +173,7 @@ static int cec_get_physical_address(const struct hdmi_cec_device* dev, uint16_t* static int cec_send_message(const struct hdmi_cec_device* dev, const cec_message_t* msg) { aml_cec_hal_t *priv = (aml_cec_hal_t *)dev; - return priv->client->sendMessage(msg, false); + return priv->client->sendMessage(msg); } /* @@ -188,7 +188,7 @@ static void cec_register_event_callback(const struct hdmi_cec_device* dev, { if (!hal_info || hal_info->fd < 0) return; - D("dev:%p, callback:%p, arg:%p\n", callback, arg, dev); + hal_info->cb = callback; hal_info->cb_data = arg; } -- cgit