summaryrefslogtreecommitdiff
path: root/drivers/usb/core/urb.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2017-12-11 16:58:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-12 13:16:07 +0100
commit4ff02f099f68f1e6be5956849180eaa326c37248 (patch)
tree728c9a2512781b20b7428091f006dcf9222b29c5 /drivers/usb/core/urb.c
parent16e791e7659645e6d8ea6286d210a24ee473d6c2 (diff)
usb: typec: wcove: fix the sink capabilities
USB Power Delivery Specification (v3.0) dictates in ch. 6.4.1 - Capabilities Message - that the vSafe5V Fixed Supply Object shall always be the first object. tcpm.c now checks that this rule is obeyed (commit 5007e1b5db73 "typec: tcpm Validate source and sink caps"), and that makes the typec_wcove.c fail to probe. The voltage is higher then what is permitted for the vSafe5V parameter. Dropping the voltage in the first Fixed Supply object of the sink capabilities down to 5V, and maximum current down to 500mA, making the driver probe successfully again. Also, removing the Battery and Variable Supply objects, as there is no need for them. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/urb.c')
0 files changed, 0 insertions, 0 deletions