Skip to contentSkip to conversation

usb: pd: fix the offset for SVID specific commands

DISCUSSION Heikki Krogerus 1 participant 1 message Dec 18, 2017 USB

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · Greg Kroah-Hartman
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)?

No, nothing uses the macro yet.

Thanks,