mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Merge branches 'pm-core' and 'pm-misc'
* pm-core: PM / runtime: Document new pm_runtime_set_suspended() constraint * pm-misc: thunderbolt: icm: Ignore mailbox errors in icm_suspend()
This commit is contained in:
commit
78aa904a77
2 changed files with 10 additions and 2 deletions
|
|
@ -904,7 +904,14 @@ static int icm_driver_ready(struct tb *tb)
|
|||
|
||||
static int icm_suspend(struct tb *tb)
|
||||
{
|
||||
return nhi_mailbox_cmd(tb->nhi, NHI_MAILBOX_SAVE_DEVS, 0);
|
||||
int ret;
|
||||
|
||||
ret = nhi_mailbox_cmd(tb->nhi, NHI_MAILBOX_SAVE_DEVS, 0);
|
||||
if (ret)
|
||||
tb_info(tb, "Ignoring mailbox command error (%d) in %s\n",
|
||||
ret, __func__);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue