aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2024-11-06 15:06:05 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-07 09:02:36 +0000
commit226ff2e681d006eada59a9693aa1976d4c15a7d4 (patch)
tree8e6ce14e3f349d72a0493fa6fe982e64288ad0eb /drivers/usb/cdns3/cdns3-plat.c
parentusb: xhci: Avoid queuing redundant Stop Endpoint commands (diff)
downloadkernel-226ff2e681d006eada59a9693aa1976d4c15a7d4.tar.gz
kernel-226ff2e681d006eada59a9693aa1976d4c15a7d4.zip
usb: typec: ucsi: Convert connector specific commands to bitmaps
That allows the fields in those command data structures to be easily validated. If an unsupported field is accessed, a warning is generated. This will not force UCSI version checks to be made in every place where these data structures are accessed, but it will make it easier to pinpoint issues that are caused by the unconditional accesses to those fields, and perhaps more importantly, allow those issues to be noticed immediately. Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions