Re: [PATCH v3 6/8] mfd: cros_ec_dev: register shutdown function for debugfs
From: Lee Jones
Date: Wed Mar 07 2018 - 11:05:41 EST
On Mon, 26 Feb 2018, Enric Balletbo i Serra wrote:
> From: Daniel Hung-yu Wu <hywu@xxxxxxxxxx>
>
> Reboot or shutdown during delayed works could corrupt communication with
> EC and certain I2C controller may not be able to recover from the error
> state.
>
> This patch registers a shutdown callback used to cancel the debugfs log
> worker thread.
>
> Signed-off-by: Daniel Hung-yu Wu <hywu@xxxxxxxxxxxx>
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> ---
>
> Changes in v3:
> - [6/8] Add the Reviewed-by Andy Shevchenko.
>
> Changes in v2:
> - [6/8] This patch is new in this series.
>
> drivers/mfd/cros_ec_dev.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
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