Re: [PATCH v3 3/8] mfd: cros_ec: Don't try to grab log when suspended
From: Lee Jones
Date: Wed Mar 07 2018 - 10:53:31 EST
On Mon, 26 Feb 2018, Enric Balletbo i Serra wrote:
> From: Douglas Anderson <dianders@xxxxxxxxxxxx>
>
> We should stop our worker thread while we're suspended. If we don't
> then we'll get messages like:
>
> cros-ec-spi spi5.0: spi transfer failed: -108
> cros-ec-spi spi5.0: cs-deassert spi transfer failed: -108
> cros-ec-ctl cros-ec-ctl.0.auto: EC communication failed
>
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> ---
>
> Changes in v3:
> - [3/8] Add Reviewed-by Andy Shevchenko.
>
> Changes in v2:
> - [3/8] That patch is new in this series.
>
> drivers/mfd/cros_ec_dev.c | 4 ++++
> drivers/platform/chrome/cros_ec_debugfs.c | 20 ++++++++++++++++++++
> include/linux/mfd/cros_ec.h | 2 ++
> 3 files changed, 26 insertions(+)
I plan to make this patch 1/X and send it out as a pull-request.
Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>
--
Lee Jones
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog