[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170911194201.GB40388@decatoncale.mtv.corp.google.com>
Date: Mon, 11 Sep 2017 12:42:01 -0700
From: Benson Leung <bleung@...gle.com>
To: Thierry Escande <thierry.escande@...labora.com>
Cc: Benson Leung <bleung@...omium.org>,
Lee Jones <lee.jones@...aro.org>,
Jonathan Cameron <jic23@...nel.org>,
Joseph Lo <josephl@...dia.com>,
Gwendal Grignou <gwendal@...omium.org>,
Douglas Anderson <dianders@...omium.org>,
Daniel Hung-yu Wu <hywu@...gle.com>,
Vincent Palatin <vpalatin@...omium.org>,
Wei-Ning Huang <wnhuang@...gle.com>,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org
Subject: Re: [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 <gwendal@...omium.org>
>
> 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 <gwendal@...omium.org>
> Signed-off-by: Thierry Escande <thierry.escande@...labora.com>
Looks good. Applied.
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@...gle.com
Chromium OS Project
bleung@...omium.org
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists