From f51812cc9d2d55a37c2e3e59a68797ddd0bb8dcd Mon Sep 17 00:00:00 2001 From: Naseer Ahmed Date: Tue, 28 Oct 2014 15:37:18 -0400 Subject: display: cec: Set logical address to unregistered when cleared Change-Id: Ibbe31a5871e202db5fd9250f93b921c3a3d4bb06 --- hdmi_cec/qhdmi_cec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hdmi_cec') diff --git a/hdmi_cec/qhdmi_cec.cpp b/hdmi_cec/qhdmi_cec.cpp index a6fcee80..c6ae97b0 100644 --- a/hdmi_cec/qhdmi_cec.cpp +++ b/hdmi_cec/qhdmi_cec.cpp @@ -181,7 +181,7 @@ static void cec_clear_logical_address(const struct hdmi_cec_device* dev) memset(ctx->logical_address, LOGICAL_ADDRESS_UNSET, sizeof(ctx->logical_address)); //XXX: Find logical_addr that needs to be reset - write_int_to_node(ctx, "cec/logical_addr", -1); + write_int_to_node(ctx, "cec/logical_addr", 15); ALOGD_IF(DEBUG, "%s: Cleared logical addresses", __FUNCTION__); } -- cgit v1.2.3