platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision
Subsystems (4)
Benson Leung
maintainerPATCH v2 1/1 platform/chrome: cros_ec_typec: Fix call to typec_partner_set_pd_revision
typec_partner_set_pd_revision returns void now.
--- drivers/platform/chrome/cros_ec_typec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/platform/chrome/cros_ec_typec.c +1 -5
@@ -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),
Signature · 1 line
2.30.0.365.g02bc693789-goog
Greg KH
maintainerQuoted 7 lines · Benson Leung
typec_partner_set_pd_revisionreturns void now.Fixes cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")Signed-off-by Benson Leung <[email protected]>--- drivers/platform/chrome/cros_ec_typec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
What changed from "v1"?
Benson Leung
maintainerHi Greg,
Quoted 4 lines · Greg KH
Quoted 2 lines · Benson Leung
typec_partner_set_pd_revisionreturns void now.
Quoted 8 lines
Quoted 5 lines
Fixes cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")Signed-off-by Benson Leung <[email protected]>--- 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.
Signature · 7 lines
Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. [email protected] Chromium OS Project [email protected]
Greg KH
maintainerQuoted 13 lines · Benson Leung
Hi Greg,
Quoted 10 lines · Greg KH
Quoted 7 lines · Benson Leung
typec_partner_set_pd_revisionreturns void now.Fixes cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")Signed-off-by Benson Leung <[email protected]>--- drivers/platform/chrome/cros_ec_typec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Quoted 4 lines
Quoted 2 lines
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
Quoted 17 lines · Greg KH
Quoted 16 lines · Benson Leung
Hi Greg,
Quoted 12 lines · Greg KH
Quoted 7 lines · Benson Leung
typec_partner_set_pd_revisionreturns void now.Fixes cefc011f8daf ("platform/chrome: cros_ec_typec: Set Partner PD revision from status")Signed-off-by Benson Leung <[email protected]>--- drivers/platform/chrome/cros_ec_typec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)What changed from "v1"?
Quoted 6 lines
Quoted 1 line
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
Quoted 4 lines
thanks,
greg k-h
Signature · 7 lines
Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. [email protected] Chromium OS Project [email protected]