klte-common: power: Add legacy qcom HAL compat code

* msm8974-common may end up going back and forth between legacy
  and HIDL HALs, so let's be compatible with both for the time
  being.

Change-Id: I5067fc474d7878a0f68e25c70b723de0e813d7c1
This commit is contained in:
Kevin F. Haggerty 2018-01-19 20:32:02 -07:00
parent 96de9ccf0d
commit b056056922
1 changed files with 4 additions and 0 deletions

View File

@ -52,3 +52,7 @@ void power_set_interactive_ext(int on) {
sysfs_write(TK_POWER, on ? "1" : "0");
sysfs_write(TS_POWER, on ? "1" : "0");
}
void cm_power_set_interactive_ext(int on) {
power_set_interactive_ext(on);
}