0
0
Fork 0

fix build

This commit is contained in:
Daryl Ronningen 2023-05-25 15:50:00 -07:00
parent 7ef9e52f3a
commit 2c7206d671
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -856,9 +856,10 @@ int hgic_core_resume(void *hgobj)
hg->bus->reinit(hg->bus);
}
err = hgic_fwctrl_enter_sleep(&hg->ctrl, 0);
if(err)
if(err) {
hgic_err("exit sleep fail, ret=%d\r\n", err);
schedule_work(&hg->alive_work);
}
schedule_work(&hg->alive_work);
return err;
}
EXPORT_SYMBOL(hgic_core_resume);