[lkml]   [2017]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 8/8] platform/chrome: cros_ec: sysfs: Modify error handling
Hi Thierry,

On Fri, Aug 11, 2017 at 04:23:05PM +0200, Thierry Escande wrote:
> From: Gwendal Grignou <>
> When accessing a sysfs attribute, if the EC command fails, -EPROTO is
> now returned instead of an error message as it is unlikely an app is
> parsing the error message to do something meaningful.
> Also, this patch makes use of cros_ec_cmd_xfer_status() instead of
> cros_ec_cmd_xfer() so an error message is printed in the syslog.
> Signed-off-by: Gwendal Grignou <>
> Signed-off-by: Thierry Escande <>

Looks good. Applied.

Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
Chromium OS Project
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2017-09-11 21:43    [W:0.140 / U:33.896 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site