diff options
author | Ananth Raghavan Subramanian <sananth@codeaurora.org> | 2018-12-05 12:08:33 -0800 |
---|---|---|
committer | Ananth Raghavan Subramanian <sananth@codeaurora.org> | 2018-12-18 17:04:32 -0800 |
commit | 561cffcbfa66192e839e040d2da3bff2ecf8dcac (patch) | |
tree | 4615a13b2b1220364131a8db4f9efc34d4b51e1a /utils.c | |
parent | 6192115442cac5bf8d8f67bbfa0b9d716b46ff07 (diff) | |
download | vendor_qcom_opensource_power-561cffcbfa66192e839e040d2da3bff2ecf8dcac.tar.gz vendor_qcom_opensource_power-561cffcbfa66192e839e040d2da3bff2ecf8dcac.tar.bz2 vendor_qcom_opensource_power-561cffcbfa66192e839e040d2da3bff2ecf8dcac.zip |
Clean up code and add generic hint handling
Removed unused code and added generic hint handling to power.c file,
does not need to be device specific anymore.
Change-Id: I0d4e2a73de0ce4d3735314d2e49ba58c23eb313c
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2013,2015-2017, The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2013,2015-2018, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -255,7 +255,7 @@ int perf_hint_enable(int hint_id , int duration) if (perf_hint) { lock_handle = perf_hint(hint_id, NULL, duration, -1); if (lock_handle == -1) - ALOGE("Failed to acquire lock."); + ALOGE("Failed to acquire lock for hint_id: %X.", hint_id); } } return lock_handle; |