mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
To: Prashant Malani <pmalani@chromium.org>, linux-kernel@vger.kernel.org
Cc: Benson Leung <bleung@chromium.org>,
	Guenter Roeck <groeck@chromium.org>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>
Subject: Re: [PATCH 0/5] platform/chrome: Make cros_ec_pd_command() reusable
Date: Thu, 30 Sep 2021 09:25:51 +0200	[thread overview]
Message-ID: <ef9908f7-c42d-7d70-074c-8bb36ae3a88c@collabora.com> (raw)
In-Reply-To: <20210930022403.3358070-1-pmalani@chromium.org>

Hi Prashant,


On 30/9/21 4:23, Prashant Malani wrote:
> This is a short series to relocate and rename cros_ec_pd_command() to
> cros_ec_proto.c. This function is useful for sending host command
> messages, so the 1st 4 patches move it a more central location, and
> modify the arguments to allow other users to use it.
> 

Nice patchset! let's hope we can remove at some point all the custom
implementations in the different cros_ec drivers of the cros_ec_command
function. Give some days to run some tests.

Thanks,
  Enric

> The final patch updates cros-ec-typec to use the new function and get
> rid of its own copy.
> 
> Prashant Malani (5):
>   platform/chrome: cros_usbpd_notify: Rename cros_ec_pd_command()
>   platform/chrome: cros_usbpd_notify: Move ec_command()
>   platform/chrome: cros_ec_proto: Make data pointers void
>   platform/chrome: cros_ec_proto: Add version for ec_command
>   platform/chrome: cros_ec_typec: Use cros_ec_command()
> 
>  drivers/platform/chrome/cros_ec_proto.c     | 48 ++++++++++++++
>  drivers/platform/chrome/cros_ec_typec.c     | 69 ++++++---------------
>  drivers/platform/chrome/cros_usbpd_notify.c | 50 +--------------
>  include/linux/platform_data/cros_ec_proto.h |  3 +
>  4 files changed, 72 insertions(+), 98 deletions(-)
> 

      parent reply	other threads:[~2021-09-30  7:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  2:23 Prashant Malani
2021-09-30  2:23 ` [PATCH 1/5] platform/chrome: cros_usbpd_notify: Rename cros_ec_pd_command() Prashant Malani
2021-09-30  2:23 ` [PATCH 2/5] platform/chrome: cros_usbpd_notify: Move ec_command() Prashant Malani
2021-09-30  2:23 ` [PATCH 3/5] platform/chrome: cros_ec_proto: Make data pointers void Prashant Malani
2021-09-30  2:23 ` [PATCH 4/5] platform/chrome: cros_ec_proto: Add version for ec_command Prashant Malani
2021-09-30  2:23 ` [PATCH 5/5] platform/chrome: cros_ec_typec: Use cros_ec_command() Prashant Malani
2021-09-30  7:25 ` Enric Balletbo i Serra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef9908f7-c42d-7d70-074c-8bb36ae3a88c@collabora.com \
    --to=enric.balletbo@collabora.com \
    --cc=bleung@chromium.org \
    --cc=groeck@chromium.org \
    --cc=gustavoars@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmalani@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®