From 909eb2e46fc491c7fec6705f76fc07abb7c2d535 Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Thu, 20 Jul 2017 16:30:02 +0530 Subject: [PATCH] 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 --- hif/inc/hif.h | 2 +- hif/src/hif_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hif/inc/hif.h b/hif/inc/hif.h index edc7699e19..c3e142bef6 100644 --- a/hif/inc/hif.h +++ b/hif/inc/hif.h @@ -939,7 +939,7 @@ ssize_t hif_dump_desc_event(struct hif_softc *scn, char *buf); * Return: void */ 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 diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c index 715d74581f..845b2232a3 100644 --- a/hif/src/hif_main.c +++ b/hif/src/hif_main.c @@ -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, - uint8_t ce_service_max_yield_time) + uint32_t ce_service_max_yield_time) { struct hif_softc *hif_ctx = HIF_GET_SOFTC(hif); hif_ctx->ce_service_max_yield_time = - ce_service_max_yield_time * 1000 * 1000; + ce_service_max_yield_time * 1000; } unsigned long long