summaryrefslogtreecommitdiff
path: root/htc
diff options
context:
space:
mode:
authorHouston Hoffman <hhoffman@codeaurora.org>2016-03-14 21:11:46 -0700
committerVishwajith Upendra <vishwaji@codeaurora.org>2016-03-16 13:02:54 -0700
commitb861cb3837507d352e03ebe63103feaa475ea04b (patch)
treee31a2f21abecc616d6e03d063a57b3cc3015b554 /htc
parentfb7d6129804c15327ca8d8193e2847cead3055af (diff)
qcacmn: Manage driver load target sleep state in hif
The target awake durring driver load feature should be isolated to hif. Change-Id: I89de39cc3632f9cc54d1fe5544da8b0bf250206d CRs-Fixed: 986480
Diffstat (limited to 'htc')
-rw-r--r--htc/htc.c13
-rw-r--r--htc/htc_api.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/htc/htc.c b/htc/htc.c
index 07fe5e10ab8c..365f3aa88e6d 100644
--- a/htc/htc.c
+++ b/htc/htc.c
@@ -829,19 +829,6 @@ void *htc_get_targetdef(HTC_HANDLE htc_handle)
}
/**
- * htc_set_target_to_sleep() - set target to sleep
- * @context: hif_opaque_softc context
- *
- * Return: none
- */
-void htc_set_target_to_sleep(void *context)
-{
- struct hif_opaque_softc *scn = (struct hif_opaque_softc *)context;
-
- hif_set_target_sleep(scn, true, false);
-}
-
-/**
* htc_cancel_deferred_target_sleep() - cancel deferred target sleep
* @context: hif_opaque_softc context
*
diff --git a/htc/htc_api.h b/htc/htc_api.h
index 3c282a7bed00..f44cd5b6ebf2 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_set_target_to_sleep(void *context);
void htc_cancel_deferred_target_sleep(void *context);
int htc_runtime_suspend(void);
int htc_runtime_resume(void);