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
Esse commit está contido em:
Houston Hoffman
2016-03-14 21:11:48 -07:00
commit de Vishwajith Upendra
commit e61d4e1382
5 arquivos alterados com 3 adições e 34 exclusões

Ver arquivo

@@ -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