]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: core: comply to PHY framework
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Jan 2019 09:23:40 +0000 (10:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2019 08:22:35 +0000 (09:22 +0100)
commitb97a31348379f7beed7664a8d4eab491e227c165
tree484fcbd9a7d97738ebb322918d7f75c29c13d722
parentc9381e185fdcf86e9d7966d638c933894f87cdd7
usb: core: comply to PHY framework

Current implementation of the USB core does not take into account the
new PHY framework. Correct the situation by adding a call to
phy_set_mode() before phy_power_on().

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c
drivers/usb/core/phy.c
drivers/usb/core/phy.h