Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1357440

Re: [PATCH v5 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

From Benson Leung <bleung@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper
Date 2016-03-14 18:30 +0100
Message-ID <rcEtz-6RO-1@gated-at.bofh.it> (permalink)
References <rcCUN-5IT-5@gated-at.bofh.it> <rcCUO-5IT-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Thanks!

On Mon, Mar 14, 2016 at 8:44 AM, Tomeu Vizoso
<tomeu.vizoso@collabora.com> 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@collabora.com>

Reviewed-by: Benson Leung <bleung@chromium.org>

> ---
>
> 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@chromium.org

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/6] EC-based USB Power Delivery support for Chrome machines Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2016-03-14 16:50 +0100
  [PATCH v5 5/6] power: cros_usbpd-charger: Add EC-based USB PD charger driver Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2016-03-14 16:50 +0100
  [PATCH v5 1/6] mfd: cros_ec: Add MKBP event support Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2016-03-14 16:50 +0100
  [PATCH v5 3/6] mfd: cros_ec: Add cros_ec_get_host_event Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2016-03-14 16:50 +0100
    Re: [PATCH v5 3/6] mfd: cros_ec: Add cros_ec_get_host_event Benson Leung <bleung@chromium.org> - 2016-03-14 20:30 +0100
  [PATCH v5 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2016-03-14 16:50 +0100
    Re: [PATCH v5 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper Benson Leung <bleung@chromium.org> - 2016-03-14 18:30 +0100
  [PATCH v5 6/6] platform/chrome: Register USB PD charger device Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2016-03-14 16:50 +0100
  [PATCH v5 4/6] mfd: cros_ec: Add more definitions for PD commands Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2016-03-14 16:50 +0100

csiph-web