Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fcdc5358 authored by Gauri Joshi's avatar Gauri Joshi
Browse files

msm: ep_pcie: Update PERST status when BME is not set



During customer testing, when host is in BIOS stage during critical
battery level device boots up till AMSS. We get a BME IRQ fired, but
BME is no set as host has bailed out enumeration process due to
critical battery level. This is followed by a PERST assert, in
disable_endpoint we bail out as the PERST is in de-asserted state
according to the status variable, though the actual line status
is assert. The host then continuosly tries to do PERST
assert/de-assert but we never end up doing link training as from
device perspective the link is already initialized state.

Adding change to update PERST status in case of BME not getting set.
This helps in disable_endpoint to happen followed by successful link
training.

Change-Id: Idd576f4cb0ab649b5aa86e6b1d2cdea204218878
Signed-off-by: default avatarSubramanian Ananthanarayanan <skananth@codeaurora.org>
Signed-off-by: default avatarGauri Joshi <gaurjosh@codeaurora.org>
parent 49401bbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment