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

Commit 22aa6ee5 authored by Krishnankutty Kolathappilly's avatar Krishnankutty Kolathappilly Committed by Sunid Wilson
Browse files

msm: cpp: Add error handling for cpp poll and load firmware functions



If CPP micro is in bad state, driver reloads the firmware and
reschedules the payload. This helps in recovery from most error
conditions. During stability runs if hardware is in bad state,
reload firmware and rescheduling the payload fails. In these cases
error is not handled in poll/ load firmware API causing frames to
be send to hardware in bad state. This can cause stability failures
and device crashes. Add error handling for cpp poll and load firmware
functions and prevent sending frames to hardware for processing if
hardware is in bad state.

CRs-Fixed: 876275
Change-Id: I85b1130959d941ad49d6c90c24b1d284cfc116b2
Signed-off-by: default avatarKrishnankutty Kolathappilly <kkolatha@codeaurora.org>
Signed-off-by: default avatarSunid Wilson <sunidw@codeaurora.org>
parent 0600f6c1
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