projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ae886
)
usb: typec: wcove: fix "op-sink-microwatt" default that was in mW
author
Thomas Hebb
<tommyhebb@gmail.com>
Mon, 20 Jan 2020 14:09:05 +0000
(06:09 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 22 Jan 2020 09:13:02 +0000
(10:13 +0100)
commit
4c912bff46cc
("usb: typec: wcove: Provide fwnode for the port")
didn't convert this value from mW to uW when migrating to a new
specification format like it should have.
Fixes:
4c912bff46cc
("usb: typec: wcove: Provide fwnode for the port")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link:
https://lore.kernel.org/r/d8be32512efd31995ad7d65b27df9d443131b07c.1579529334.git.tommyhebb@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/wcove.c
patch
|
blob
|
history
diff --git
a/drivers/usb/typec/tcpm/wcove.c
b/drivers/usb/typec/tcpm/wcove.c
index
edc271d
..
9b745f4
100644
(file)
--- a/
drivers/usb/typec/tcpm/wcove.c
+++ b/
drivers/usb/typec/tcpm/wcove.c
@@
-597,7
+597,7
@@
static const struct property_entry wcove_props[] = {
PROPERTY_ENTRY_STRING("try-power-role", "sink"),
PROPERTY_ENTRY_U32_ARRAY("source-pdos", src_pdo),
PROPERTY_ENTRY_U32_ARRAY("sink-pdos", snk_pdo),
- PROPERTY_ENTRY_U32("op-sink-microwatt", 15000),
+ PROPERTY_ENTRY_U32("op-sink-microwatt", 15000
000
),
{ }
};