qcacmn: Change ce_service_max_yield_time ini to us granularity

Change ce_service_max_yield_time ini to us granularity to have
yield time of us order as well.

Change-Id: Iae31be810dd42273a4f0546ba2b76e89e23b9329
CRs-fixed: 2086190
This commit is contained in:
Himanshu Agarwal
2017-07-20 16:30:02 +05:30
committed by nshrivas
parent 1ea8292209
commit 909eb2e46f
2 changed files with 3 additions and 3 deletions

View File

@@ -939,7 +939,7 @@ ssize_t hif_dump_desc_event(struct hif_softc *scn, char *buf);
* Return: void * Return: void
*/ */
void hif_set_ce_service_max_yield_time(struct hif_opaque_softc *hif, void hif_set_ce_service_max_yield_time(struct hif_opaque_softc *hif,
uint8_t ce_service_max_yield_time); uint32_t ce_service_max_yield_time);
/** /**
* hif_get_ce_service_max_yield_time() - get CE service max yield time * hif_get_ce_service_max_yield_time() - get CE service max yield time

View File

@@ -1261,12 +1261,12 @@ void hif_set_initial_wakeup_cb(struct hif_opaque_softc *hif_ctx,
} }
void hif_set_ce_service_max_yield_time(struct hif_opaque_softc *hif, void hif_set_ce_service_max_yield_time(struct hif_opaque_softc *hif,
uint8_t ce_service_max_yield_time) uint32_t ce_service_max_yield_time)
{ {
struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif);
hif_ctx->ce_service_max_yield_time = hif_ctx->ce_service_max_yield_time =
ce_service_max_yield_time * 1000 * 1000; ce_service_max_yield_time * 1000;
} }
unsigned long long unsigned long long