aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorKyle Tso <kyletso@google.com>2023-06-23 23:10:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-07-25 17:45:29 +0200
commit4b642dc9829507e4afabc03d32a18abbdb192c5e (patch)
treed4a1d8862512c2b2583cf0189008ab1c402d6897 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentb33ebb2415e7e0a55ee3d049c2890d3a3e3805b6 (diff)
usb: typec: Iterate pds array when showing the pd list
The pointers of each usb_power_delivery handles are stored in "pds" array returned from the pd_get ops but not in the adjacent memory calculated from "pd". Get the handles from "pds" array directly instead of deriving them from "pd". Fixes: a7cff92f0635 ("usb: typec: USB Power Delivery helpers for ports and partners") Cc: stable@vger.kernel.org Signed-off-by: Kyle Tso <kyletso@google.com> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20230623151036.3955013-3-kyletso@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions