Skip to content

Commit eb7a3bb

Browse files
tchebbgregkh
authored andcommitted
usb: typec: fusb302: fix "op-sink-microwatt" default that was in mW
commit 8f62440 ("usb: typec: fusb302: Always 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: 8f62440 ("usb: typec: fusb302: Always provide fwnode for the port") Cc: [email protected] Signed-off-by: Thomas Hebb <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/0da564559af75ec829c6c7e3aa4024f857c91bee.1579529334.git.tommyhebb@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 0e64350 commit eb7a3bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/typec/tcpm/fusb302.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,7 @@ static const struct property_entry port_props[] = {
16661666
PROPERTY_ENTRY_STRING("try-power-role", "sink"),
16671667
PROPERTY_ENTRY_U32_ARRAY("source-pdos", src_pdo),
16681668
PROPERTY_ENTRY_U32_ARRAY("sink-pdos", snk_pdo),
1669-
PROPERTY_ENTRY_U32("op-sink-microwatt", 2500),
1669+
PROPERTY_ENTRY_U32("op-sink-microwatt", 2500000),
16701670
{ }
16711671
};
16721672

0 commit comments

Comments
 (0)