Re: [PATCH v5 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper
From: Benson Leung
Date: Mon Mar 14 2016 - 13:24:54 EST
Thanks!
On Mon, Mar 14, 2016 at 8:44 AM, Tomeu Vizoso
<tomeu.vizoso@xxxxxxxxxxxxx> wrote:
> So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate
> code when checking for errors from the EC side.
>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx>
Reviewed-by: Benson Leung <bleung@xxxxxxxxxxxx>
> ---
>
> Changes in v5:
> - Check explicitly for !EC_RES_SUCCESS as suggested by Benson Leung.
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
--
Benson Leung
Senior Software Engineer, Chrom* OS
bleung@xxxxxxxxxxxx