power: Update DT2W_PATH cm-14.0
authorishantvivek <ishantvivek1311@gmail.com>
Mon, 21 Nov 2016 06:05:47 +0000 (06:05 +0000)
committerIshant Vivek <ishantvivek1311@gmail.com>
Wed, 23 Nov 2016 12:24:47 +0000 (04:24 -0800)
commit4ebdf30fc76feef3b9e859b4091943e38decae0d
tree22c9cb6589ad2a8fe18ec8d3bad2f9bea88dfc71
parent7cfaf3f36fd7682a701bb8da98776457ff5cbfb4
power: Update DT2W_PATH

* TARGET_TAP_TO_WAKE_NODE is defined in if condition. But in DT2W_PATH, TARGET_DT2W_PATH is defined. Why?
* Use same flag for both, otherwise we need to define two flags for the dt2w path.
* Use TARGET_TAP_TO_WAKE_NODE instead of TARGET_DT2W_PATH, for similarity with qcom powerHAL.

Change-Id: I87cbdc3f2aa1a3f9f6509580f2c1f001129a0fda
(cherry picked from commit 987dcca8254f68461016e700c8bd8c956eaac2e2)
power/Android.mk
power/power.c