qcacmn: Use zero timeout in non interrupt mode during force wake
Currently we use a single timeout value of FORCE_WAKE_DELAY_TIMEOUT_MS during hif_force_wake_request. A 50ms value is not enough in some cases to bring MHI to M0 from M2/M3_fast states. This can result in a write failure. In certain cases, when not in an interrupt context, it should be okay to wait slightly longer for MHI to transition into M0. Hence, pass 0 as the timeout value to pld_force_wake_request_sync. This API calls CNSS API which uses a blocking call - mhi_device_get_sync, to transition MHI to M0, when a value of zero is passed. Change-Id: I738bf9c4a9a83c943186445cba0174df18a45c74 CRs-Fixed: 2766674
Loading
Please register or sign in to comment