mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "msm: ipa: mark the IPA clock on in virtual/emulation mode"
This commit is contained in:
commit
f62c401333
1 changed files with 5 additions and 0 deletions
|
|
@ -6408,6 +6408,11 @@ static int ipa3_pre_init(const struct ipa3_plat_drv_res *resource_p,
|
|||
/* Enable ipa3_ctx->enable_napi_chain */
|
||||
ipa3_ctx->enable_napi_chain = 1;
|
||||
|
||||
/* assume clock is on in virtual/emulation mode */
|
||||
if (ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_VIRTUAL ||
|
||||
ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_EMULATION)
|
||||
atomic_set(&ipa3_ctx->ipa_clk_vote, 1);
|
||||
|
||||
/* enable IPA clocks explicitly to allow the initialization */
|
||||
ipa3_enable_clks();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue