usb: pd: fix the offset for SVID specific commands
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 18 Dec 2017 14:03:03 +0000 (17:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Dec 2017 10:47:23 +0000 (11:47 +0100)
commit3df613ec12f71f00dad545a9df75573951e5c59f
treefe1470119a39b071e636d2eb75baf4685a186598
parentd9e3d899bc7a852d44b3305ed49799fbf090e756
usb: pd: fix the offset for SVID specific commands

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.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/pd_vdo.h