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>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
948fe7a1d8
commit
cdca892ba0
@@ -9055,6 +9055,13 @@ static int __ipa3_stop_gsi_channel(u32 clnt_hdl)
|
||||
if (res)
|
||||
IPAERR("Delete HOLB monitor failed for ch %d\n",
|
||||
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));
|
||||
|
||||
|
Reference in New Issue
Block a user