power: Update DT2W_PATH
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:22:54 +0000 (04:22 -0800)
commitb0ea7987891af010550dc8229f6ecc77122b5e62
tree6d22bbc3e6220acf560faec9fdad1ecf0efa6855
parentc2104657697740a9bee31dc03bf0c5134ff93e6c
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