Re: [PATCH 05/25] media: i2c: ccs-core: return the right error code at suspend
From: Sakari Ailus
Date: Wed May 05 2021 - 08:51:36 EST
On Wed, May 05, 2021 at 11:41:55AM +0200, Mauro Carvalho Chehab wrote:
> If pm_runtime resume logic fails, return the error code
> provided by it, instead of -EAGAIN, as, depending on what
> caused it to fail, it may not be something that would be
> recovered.
>
> Fixes: cbba45d43631 ("[media] smiapp: Use runtime PM")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
--
Sakari Ailus