msm: ipa: Fix to set holb discard
As part of HOLB monitoring, uc will clear the HOLB discard if it was set as part of HOLB monitoring or it can clear if peripheral recovers just before receiving HOLB_DEL command. Make change to set HOLB discard back if it was intended to be configured from AP as part of disconnect scenarios. Change-Id: I6659a62499150844c3b540fadb4ba8b9535f5e45 Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Цей коміт міститься в:

зафіксовано
Gerrit - the friendly Code Review server

джерело
948fe7a1d8
коміт
cdca892ba0
@@ -9055,6 +9055,13 @@ static int __ipa3_stop_gsi_channel(u32 clnt_hdl)
|
|||||||
if (res)
|
if (res)
|
||||||
IPAERR("Delete HOLB monitor failed for ch %d\n",
|
IPAERR("Delete HOLB monitor failed for ch %d\n",
|
||||||
ep->gsi_chan_hdl);
|
ep->gsi_chan_hdl);
|
||||||
|
/* Set HOLB back if it was set previously.
|
||||||
|
* There is a possibility that uC will reset as part of HOLB
|
||||||
|
* monitoring.
|
||||||
|
*/
|
||||||
|
if (ep->holb.en) {
|
||||||
|
ipa3_cfg_ep_holb(clnt_hdl, &ep->holb);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
memset(&mem, 0, sizeof(mem));
|
memset(&mem, 0, sizeof(mem));
|
||||||
|
|
||||||
|
Посилання в новій задачі
Заблокувати користувача