fix build
This commit is contained in:
parent
7ef9e52f3a
commit
2c7206d671
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue