diff options
| author | Houston Hoffman <hhoffman@codeaurora.org> | 2016-03-14 21:11:48 -0700 |
|---|---|---|
| committer | Vishwajith Upendra <vishwaji@codeaurora.org> | 2016-03-16 13:02:59 -0700 |
| commit | e61d4e1382bc9e63d88f1f669609fccbb62c956a (patch) | |
| tree | 24b4231890b3c12172878d480d78e19b94c89177 /htc | |
| parent | 00d42aeb8e704d5f3af90f8d58411e4ea4d8a559 (diff) | |
qcacmn: Controll target sleep in hif
Reduce the api footprint of hif and make hif responsible for controlling
its own timer as part of suspend resume.
Change-Id: I256161a8d147e99811f018c995081684f2bd0167
CRs-Fixed: 986480
Diffstat (limited to 'htc')
| -rw-r--r-- | htc/htc.c | 12 | ||||
| -rw-r--r-- | htc/htc_api.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/htc/htc.c b/htc/htc.c index 365f3aa88e6d..20e42e226859 100644 --- a/htc/htc.c +++ b/htc/htc.c @@ -828,18 +828,6 @@ void *htc_get_targetdef(HTC_HANDLE htc_handle) return hif_get_targetdef(target->hif_dev); } -/** - * htc_cancel_deferred_target_sleep() - cancel deferred target sleep - * @context: hif_opaque_softc context - * - * Return: none - */ -void htc_cancel_deferred_target_sleep(void *context) -{ - struct hif_opaque_softc *scn = (struct hif_opaque_softc *)context; - hif_cancel_deferred_target_sleep(scn); -} - #ifdef IPA_OFFLOAD /** * htc_ipa_get_ce_resource() - get uc resource on lower layer diff --git a/htc/htc_api.h b/htc/htc_api.h index f44cd5b6ebf2..78a866796b15 100644 --- a/htc/htc_api.h +++ b/htc/htc_api.h @@ -703,7 +703,6 @@ do { \ void htc_get_control_endpoint_tx_host_credits(HTC_HANDLE HTCHandle, int *credit); void htc_dump_counter_info(HTC_HANDLE HTCHandle); void *htc_get_targetdef(HTC_HANDLE htc_handle); -void htc_cancel_deferred_target_sleep(void *context); int htc_runtime_suspend(void); int htc_runtime_resume(void); |
