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:
Konstantin Makariev 2019-02-12 11:59:36 -06:00 • committed by Konstantin Makariev
commit 5ebb7fdebe

View file

@ -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);