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
Этот коммит содержится в:
Houston Hoffman
2016-03-14 21:11:46 -07:00
коммит произвёл Vishwajith Upendra
родитель fb7d612980
Коммит b861cb3837
4 изменённых файлов: 7 добавлений и 30 удалений

Просмотреть файл

@@ -828,19 +828,6 @@ void *htc_get_targetdef(HTC_HANDLE htc_handle)
return hif_get_targetdef(target->hif_dev);
}
/**
* 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