Re: [PATCH v2 1/4] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-06-16 Thread Enric Balletbo i Serra
On 16/06/16 17:30, Lee Jones wrote: > On Thu, 02 Jun 2016, Brian Norris wrote: > >> From: Tomeu Vizoso >> >> 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 >> Reviewed-by: Benson Leung >

Re: [PATCH v2 1/4] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-06-16 Thread Lee Jones
On Thu, 02 Jun 2016, Brian Norris wrote: > From: Tomeu Vizoso > > 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 > Reviewed-by: Benson Leung > Signed-off-by: Brian Norris > --- > v2: no ch

[PATCH v2 1/4] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-06-02 Thread Brian Norris
From: Tomeu Vizoso 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 Reviewed-by: Benson Leung Signed-off-by: Brian Norris --- v2: no change drivers/platform/chrome/cros_ec_proto.c | 15 ++