Re: [PATCH] platform: cros_ec_debugfs: control uptime information request

2020-05-26 Thread Gwendal Grignou
On Thu, May 21, 2020 at 2:21 AM Enric Balletbo i Serra wrote: > > Hi Gwendal, > > Thank you for your patch. > > On 21/5/20 7:28, Gwendal Grignou wrote: > > When EC does not support uptime command (EC_CMD_GET_UPTIME_INFO), > > return -EPROTO to read of /sys/kernel/debug/cros_ec/uptime without > > c

Re: [PATCH] platform: cros_ec_debugfs: control uptime information request

2020-05-21 Thread Enric Balletbo i Serra
Hi Gwendal, Thank you for your patch. On 21/5/20 7:28, Gwendal Grignou wrote: > When EC does not support uptime command (EC_CMD_GET_UPTIME_INFO), > return -EPROTO to read of /sys/kernel/debug/cros_ec/uptime without > calling the EC after the first try. > > The EC console log will not contain EC_

[PATCH] platform: cros_ec_debugfs: control uptime information request

2020-05-20 Thread Gwendal Grignou
When EC does not support uptime command (EC_CMD_GET_UPTIME_INFO), return -EPROTO to read of /sys/kernel/debug/cros_ec/uptime without calling the EC after the first try. The EC console log will not contain EC_CMD_GET_UPTIME_INFO anymore. Signed-off-by: Gwendal Grignou --- drivers/platform/chrome