]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
usb: typec: fusb302: fix "op-sink-microwatt" default that was in mW
authorThomas Hebb <tommyhebb@gmail.com>
Mon, 20 Jan 2020 14:09:06 +0000 (06:09 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Tue, 4 Feb 2020 09:18:14 +0000 (09:18 +0000)
commit81858cf852e949e4a9bf3df1a8fdf04193fcfc77
tree6d05e14cc410909a3b528442bad0e6390567276c
parentebcadcb77a6487c90368287bb127ecf5c918d136
usb: typec: fusb302: fix "op-sink-microwatt" default that was in mW

BugLink: https://bugs.launchpad.net/bugs/1861784
commit eb7a3bb8c955b3694e0e0998413ce1563c02f90c upstream.

commit 8f6244055bd3 ("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: 8f6244055bd3 ("usb: typec: fusb302: Always 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/0da564559af75ec829c6c7e3aa4024f857c91bee.1579529334.git.tommyhebb@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/usb/typec/tcpm/fusb302.c