author | Tellen Yu <tellen.yu@amlogic.com> | 2017-11-07 07:01:28 (GMT) |
---|---|---|
committer | Tellen Yu <tellen.yu@amlogic.com> | 2017-11-07 11:13:59 (GMT) |
commit | 89f2386ea5853801f7075d2c24ea9e190cfc5ce6 (patch) | |
tree | d050311612f4caf52a2686d6fe1e00b29fc2b73b | |
parent | 63ff98650206a19f42f250804a58ad8f83023e85 (diff) | |
download | hdmi_cec-ref-o-20171115.zip hdmi_cec-ref-o-20171115.tar.gz hdmi_cec-ref-o-20171115.tar.bz2 |
hdmicec: add callback type to server [4/4]
PD# 152527
when a server has multi clients, it need know the client type
Change-Id: I65abb73e95ad6ec4c6d83098dd80ef285b14c48b
-rw-r--r-- | hdmi_cec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hdmi_cec.cpp b/hdmi_cec.cpp index 5b9b5ac..2173b1e 100644 --- a/hdmi_cec.cpp +++ b/hdmi_cec.cpp @@ -306,7 +306,7 @@ static int open_cec( const struct hw_module_t* module, char const *name, //dev->client = HdmiCecClient::connect(); //dev->client->setEventObserver(new HdmiCecCallback()); //dev->fd = dev->client->openCecDevice(); - dev->hidlClient = HdmiCecHidlClient::connect(); + dev->hidlClient = HdmiCecHidlClient::connect(CONNECT_TYPE_HAL); dev->hidlClient->setEventObserver(new HdmiCecCallback()); dev->fd = dev->hidlClient->openCecDevice(); |