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:

committed by
nshrivas

parent
1ea8292209
commit
909eb2e46f
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user