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
This commit is contained in:

zatwierdzone przez
Vishwajith Upendra

rodzic
00d42aeb8e
commit
e61d4e1382
12
htc/htc.c
12
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
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user