mbox series

[v1,0/1] usb: typec: ucsi: Check capabilities before discovery

Message ID 20240314235554.90079-1-jthies@google.com (mailing list archive)
Headers show
Series usb: typec: ucsi: Check capabilities before discovery | expand

Message

Jameson Thies March 14, 2024, 11:55 p.m. UTC
Hi Heikki,

This patch updates the UCSI driver to better check the appropriate
capability bit before sending a UCSI command to discovery cable and
identity information.

These have been tested on a the usb-testing branch merged with a
chromeOS 6.8-rc2 kernel. Let me know if you have any questions.

Thanks,
Jameson

Jameson Thies (1):
  usb: typec: ucsi: Check capabilities before cable and identity
    discovery

 drivers/usb/typec/ucsi/ucsi.c | 34 +++++++++++++++++++++-------------
 drivers/usb/typec/ucsi/ucsi.h |  5 +++--
 2 files changed, 24 insertions(+), 15 deletions(-)


base-commit: d99e42ce6b8341d3f09e22c6706461ec900fe172

Comments

Prashant Malani March 15, 2024, 12:29 a.m. UTC | #1
Hi Jameson,

On Thu, Mar 14, 2024 at 4:55 PM Jameson Thies <jthies@google.com> wrote:
>
> Hi Heikki,
>
> This patch updates the UCSI driver to better check the appropriate
> capability bit before sending a UCSI command to discovery cable and
> identity information.
>
> These have been tested on a the usb-testing branch merged with a
> chromeOS 6.8-rc2 kernel. Let me know if you have any questions.
>
> Thanks,
> Jameson
>
> Jameson Thies (1):
>   usb: typec: ucsi: Check capabilities before cable and identity
>     discovery

Just something to keep in mind for future patches: it's OK to upload
single patch submissions without a cover letter.

BR,

-Prashant