]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
usb: typec: wcove: fix "op-sink-microwatt" default that was in mW
authorThomas Hebb <tommyhebb@gmail.com>
Mon, 20 Jan 2020 14:09:05 +0000 (06:09 -0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 13 Mar 2020 04:52:39 +0000 (00:52 -0400)
commitc90d734dacba5b11fc6365d5399dbf6e692d1715
treed2203b378ae1c4f77be1594478f5d3072b30013b
parent5d3344be020a685fbfef28d58955e24541e56eb8
usb: typec: wcove: fix "op-sink-microwatt" default that was in mW

BugLink: https://bugs.launchpad.net/bugs/1866403
commit 0e64350bf4668d0fbbfec66fd8e637b971b4e976 upstream.

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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/usb/typec/tcpm/wcove.c