mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
msm: ipa: Fix accessing coal registers when clock is off
There is a possibility to access coal registers when the clock is off which results in unknown behavior. Make changes to ensure clock is on when accessing coal registers. Change-Id: Ia13841c5543798cb47ed6953a5c714e7426cb180 Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This commit is contained in:
parent
5398ee57fd
commit
551c0d6b73
1 changed files with 3 additions and 3 deletions
|
|
@ -1162,9 +1162,6 @@ int ipa3_setup_sys_pipe(struct ipa_sys_connect_params *sys_in, u32 *clnt_hdl)
|
|||
goto fail_gen3;
|
||||
}
|
||||
|
||||
if (!ep->keep_ipa_awake)
|
||||
IPA_ACTIVE_CLIENTS_DEC_EP(sys_in->client);
|
||||
|
||||
IPADBG("client %d (ep: %d) connected sys=%pK\n", sys_in->client,
|
||||
ipa_ep_idx, ep->sys);
|
||||
|
||||
|
|
@ -1186,6 +1183,9 @@ int ipa3_setup_sys_pipe(struct ipa_sys_connect_params *sys_in, u32 *clnt_hdl)
|
|||
}
|
||||
}
|
||||
|
||||
if (!ep->keep_ipa_awake)
|
||||
IPA_ACTIVE_CLIENTS_DEC_EP(ep->client);
|
||||
|
||||
return 0;
|
||||
|
||||
fail_gen3:
|
||||
|
|
|
|||
Loading…
Reference in a new issue