Skip to contentSkip to conversation

usb: pd: fix the offset for SVID specific commands

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 18, 2017 USB

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw
Quoted 5 lines · Heikki Krogerus

The SVID specific commands in the Command field of the Structured VDM Header start from 16, not 10. Changing the value used in VDO_CMD_VENDOR() macro from 10 to 0x10.

Does this fix any specific code that uses this macro? Should it go to the stable tree(s)?

thanks,

greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html