mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
fixup! (CR) synaptics_mmi: firmware upgrade with older bootloader
Original commit mistakenly took out a piece of interrupt handling procedure. Getting this issue fixed Mot-CRs-Fixed: (CR) Signed-off-by: Konstantin Makariev <hcv867@motorola.com> Change-Id: Icf41f2497b5b470d81713b5f9e1b25e68e7a7611 Reviewed-on: https://gerrit.mot.com/1307876 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Tiago Ganselli <ganselli@motorola.com> Reviewed-by: Konstantin Makariev <kmakariev@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
e81d0de7c6
commit
5ebb7fdebe
1 changed files with 4 additions and 6 deletions
|
|
@ -905,14 +905,12 @@ static int fwu_wait_for_idle(
|
|||
{
|
||||
int retval;
|
||||
|
||||
if (fwu->bl_version > BL_V6) {
|
||||
retval = down_timeout(&fwu->irq_sema, msecs_to_jiffies(timeout_ms));
|
||||
if (retval) {
|
||||
retval = -ETIMEDOUT;
|
||||
dev_err(LOGDEV,
|
||||
retval = down_timeout(&fwu->irq_sema, msecs_to_jiffies(timeout_ms));
|
||||
if (retval) {
|
||||
retval = -ETIMEDOUT;
|
||||
dev_err(LOGDEV,
|
||||
"%s: timed out waiting for cmd to complete\n",
|
||||
__func__);
|
||||
}
|
||||
}
|
||||
|
||||
retval = fwu_read_interrupt_status(fwu);
|
||||
|
|
|
|||
Loading…
Reference in a new issue