Re: [RFC][PATCH] thunderbolt: icm: Ignore mailbox errors in icm_suspend()
From: Mika Westerberg
Date: Tue Jul 25 2017 - 06:00:20 EST
On Tue, Jul 25, 2017 at 01:31:00AM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> On one of my test machines nhi_mailbox_cmd() called from icm_suspend()
> times out and returnes an error which then is propagated to the
> caller and causes the entire system suspend to be aborted which isn't
> very useful.
>
> Instead of aborting system suspend, print the error into the log
> and continue.
I agree, it should not prevent suspend but I wonder why it fails in the
first place? Can you check what is the return value?