media: i2c: ccs-core: return the right error code at suspend
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: cbba45d4 ("[media] smiapp: Use runtime PM") Reviewed-by:Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Loading
Please register or sign in to comment