summaryrefslogtreecommitdiff
authorJing Wei <jing.wei@amlogic.com>2016-11-07 10:05:35 (GMT)
committer Jing Wei <jing.wei@amlogic.com>2016-11-09 07:50:51 (GMT)
commit7da514c6ad71a6c098bb1db1315498e404ca6c36 (patch)
treeca54c64a698c597915f22c5515888eba161a552b
parent4b6dc19842eb55486f10c18fde54b07a146c6222 (diff)
downloadhdmi_cec-7da514c6ad71a6c098bb1db1315498e404ca6c36.zip
hdmi_cec-7da514c6ad71a6c098bb1db1315498e404ca6c36.tar.gz
hdmi_cec-7da514c6ad71a6c098bb1db1315498e404ca6c36.tar.bz2
PD#132699: perfect for api.
Change-Id: I0c939d78a27def204a3daa59b3a28dbe0a11416f
Diffstat
-rw-r--r--hdmi_cec.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}