* [PATCH v2] platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision
@ 2021-02-02 16:45 Benson Leung
2021-02-02 17:02 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Benson Leung @ 2021-02-02 16:45 UTC (permalink / raw)
To: heikki.krogerus, enric.balletbo, pmalani, gregkh, linux-usb,
linux-kernel
Cc: kyletso, bleung, bleung
typec_partner_set_pd_revision returns void now.
Fixes: cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")
Signed-off-by: Benson Leung <bleung@chromium.org>
---
drivers/platform/chrome/cros_ec_typec.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chrome/cros_ec_typec.c
index a7778258d0a0..7b93dfd02999 100644
--- a/drivers/platform/chrome/cros_ec_typec.c
+++ b/drivers/platform/chrome/cros_ec_typec.c
@@ -842,11 +842,7 @@ static int cros_typec_handle_sop_disc(struct cros_typec_data *typec, int port_nu
goto disc_exit;
}
- ret = typec_partner_set_pd_revision(port->partner, pd_revision);
- if (ret < 0) {
- dev_err(typec->dev, "Failed to update partner PD revision, port: %d\n", port_num);
- goto disc_exit;
- }
+ typec_partner_set_pd_revision(port->partner, pd_revision);
memset(sop_disc, 0, EC_PROTO2_MAX_RESPONSE_SIZE);
ret = cros_typec_ec_command(typec, 0, EC_CMD_TYPEC_DISCOVERY, &req, sizeof(req),
--
2.30.0.365.g02bc693789-goog
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2] platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision
2021-02-02 16:45 [PATCH v2] platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision Benson Leung
@ 2021-02-02 17:02 ` Greg KH
2021-02-02 17:52 ` Benson Leung
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2021-02-02 17:02 UTC (permalink / raw)
To: Benson Leung
Cc: heikki.krogerus, enric.balletbo, pmalani, linux-usb,
linux-kernel, kyletso, bleung
On Tue, Feb 02, 2021 at 08:45:31AM -0800, Benson Leung wrote:
> typec_partner_set_pd_revision returns void now.
>
> Fixes: cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")
> Signed-off-by: Benson Leung <bleung@chromium.org>
> ---
> drivers/platform/chrome/cros_ec_typec.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
What changed from "v1"?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision
2021-02-02 17:02 ` Greg KH
@ 2021-02-02 17:52 ` Benson Leung
2021-02-02 18:30 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Benson Leung @ 2021-02-02 17:52 UTC (permalink / raw)
To: Greg KH
Cc: Heikki Krogerus, Enric Balletbo i Serra, Prashant Malani,
open list:USB SUBSYSTEM, Linux Kernel, Kyle Tso
Hi Greg,
On Tue, Feb 2, 2021 at 9:02 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Tue, Feb 02, 2021 at 08:45:31AM -0800, Benson Leung wrote:
> > typec_partner_set_pd_revision returns void now.
> >
> > Fixes: cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")
> > Signed-off-by: Benson Leung <bleung@chromium.org>
> > ---
> > drivers/platform/chrome/cros_ec_typec.c | 6 +-----
> > 1 file changed, 1 insertion(+), 5 deletions(-)
>
> What changed from "v1"?
>
Just the "Fixes" line in the commit message.
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@google.com
Chromium OS Project
bleung@chromium.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision
2021-02-02 17:52 ` Benson Leung
@ 2021-02-02 18:30 ` Greg KH
2021-02-02 19:44 ` Benson Leung
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2021-02-02 18:30 UTC (permalink / raw)
To: Benson Leung
Cc: Heikki Krogerus, Enric Balletbo i Serra, Prashant Malani,
open list:USB SUBSYSTEM, Linux Kernel, Kyle Tso
On Tue, Feb 02, 2021 at 09:52:13AM -0800, Benson Leung wrote:
> Hi Greg,
>
> On Tue, Feb 2, 2021 at 9:02 AM Greg KH <gregkh@linuxfoundation.org> wrote:
> >
> > On Tue, Feb 02, 2021 at 08:45:31AM -0800, Benson Leung wrote:
> > > typec_partner_set_pd_revision returns void now.
> > >
> > > Fixes: cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")
> > > Signed-off-by: Benson Leung <bleung@chromium.org>
> > > ---
> > > drivers/platform/chrome/cros_ec_typec.c | 6 +-----
> > > 1 file changed, 1 insertion(+), 5 deletions(-)
> >
> > What changed from "v1"?
> >
>
> Just the "Fixes" line in the commit message.
That should always go below the --- line, remember, some of us deal with
hundreds of patches a day :)
I'll go take this...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision
2021-02-02 18:30 ` Greg KH
@ 2021-02-02 19:44 ` Benson Leung
0 siblings, 0 replies; 5+ messages in thread
From: Benson Leung @ 2021-02-02 19:44 UTC (permalink / raw)
To: Greg KH
Cc: Benson Leung, Heikki Krogerus, Enric Balletbo i Serra,
Prashant Malani, open list:USB SUBSYSTEM, Linux Kernel, Kyle Tso
[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]
On Tue, Feb 02, 2021 at 07:30:06PM +0100, Greg KH wrote:
> On Tue, Feb 02, 2021 at 09:52:13AM -0800, Benson Leung wrote:
> > Hi Greg,
> >
> > On Tue, Feb 2, 2021 at 9:02 AM Greg KH <gregkh@linuxfoundation.org> wrote:
> > >
> > > On Tue, Feb 02, 2021 at 08:45:31AM -0800, Benson Leung wrote:
> > > > typec_partner_set_pd_revision returns void now.
> > > >
> > > > Fixes: cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")
> > > > Signed-off-by: Benson Leung <bleung@chromium.org>
> > > > ---
> > > > drivers/platform/chrome/cros_ec_typec.c | 6 +-----
> > > > 1 file changed, 1 insertion(+), 5 deletions(-)
> > >
> > > What changed from "v1"?
> > >
> >
> > Just the "Fixes" line in the commit message.
>
> That should always go below the --- line, remember, some of us deal with
> hundreds of patches a day :)
>
> I'll go take this...
Thanks so much, Greg!
Benson
>
> thanks,
>
> greg k-h
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@google.com
Chromium OS Project
bleung@chromium.org
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-02-02 19:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 16:45 [PATCH v2] platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision Benson Leung
2021-02-02 17:02 ` Greg KH
2021-02-02 17:52 ` Benson Leung
2021-02-02 18:30 ` Greg KH
2021-02-02 19:44 ` Benson Leung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).