[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACeCKafU5OgwidJJ5TeBani-gfBTo-Qk0fXi7n=r6pLkTK7ApA@mail.gmail.com>
Date: Mon, 7 Feb 2022 22:03:19 -0800
From: Prashant Malani <pmalani@...omium.org>
To: Tzung-Bi Shih <tzungbi@...gle.com>
Cc: linux-kernel@...r.kernel.org, Benson Leung <bleung@...omium.org>,
"open list:CHROMEOS EC USB TYPE-C DRIVER"
<chrome-platform@...ts.linux.dev>,
Guenter Roeck <groeck@...omium.org>
Subject: Re: [PATCH 1/4] platform/chrome: cros_ec_typec: Move mux flag checks
Hi Tzung-Bi,
On Mon, Feb 7, 2022 at 9:33 PM Tzung-Bi Shih <tzungbi@...gle.com> wrote:
>
> On Mon, Feb 07, 2022 at 09:40:24PM +0000, Prashant Malani wrote:
> > Move mux and role flag checks inside of cros_typec_configure_mux(),
> > which is a more logical location for them.
>
> nit: s/Move/Moves/.
Move is fine. Please see:
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#describe-your-changes
Quoting from the above: " Describe your changes in imperative mood,"
>
> > @@ -519,7 +519,14 @@ static int cros_typec_configure_mux(struct cros_typec_data *typec, int port_num,
> > struct cros_typec_port *port = typec->ports[port_num];
> > struct ec_params_usb_pd_mux_ack mux_ack;
> > enum typec_orientation orientation;
> > - int ret;
> > + int ret = 0;
>
> The change looks irrelevant to the patch.
Ack, I missed eliminating this while cleaning up the patches. Will fix
it in the next version.
Powered by blists - more mailing lists