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>
This commit is contained in:
Miquel Raynal 2019-01-29 10:23:40 +01:00 • committed by Greg Kroah-Hartman
commit b97a313483
3 changed files with 35 additions and 0 deletions