diff options
| author | Elias Rudberg <[email protected]> | 2021-03-11 12:47:10 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-17 20:30:47 +0000 |
| commit | 3cac9104bea41099cf622091f0c0538bcb19050d (patch) | |
| tree | b75769a4e380ac199af329420a4ae3799b831cd2 /drivers/usb/cdns3/cdns3-plat.c | |
| parent | usb-storage: Add quirk to defeat Kindle's automatic unload (diff) | |
| download | kernel-3cac9104bea41099cf622091f0c0538bcb19050d.tar.gz kernel-3cac9104bea41099cf622091f0c0538bcb19050d.zip | |
usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct
Remove the unused "u32 vdo[3]" part in the tps6598x_rx_identity_reg
struct. This helps avoid "failed to register partner" errors which
happen when tps6598x_read_partner_identity() fails because the
amount of data read is 12 bytes smaller than the struct size.
Note that vdo[3] is already in usb_pd_identity and hence
shouldn't be added to tps6598x_rx_identity_reg as well.
Fixes: f6c56ca91b92 ("usb: typec: Add the Product Type VDOs to struct usb_pd_identity")
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Guido Günther <[email protected]>
Signed-off-by: Elias Rudberg <[email protected]>
Cc: stable <[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
