diff options
author | Chen-Yu Tsai <wens@csie.org> | 2019-03-22 16:51:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-26 16:48:55 +0900 |
commit | 1396929e8a903db80425343cacca766a18ad6409 (patch) | |
tree | 3ebf2020baa0dd22da64a0edca95f132c2e83b41 /drivers/phy/renesas | |
parent | d92f2c59cc2cbca6bfb2cc54882b58ba76b15fd4 (diff) | |
download | kernel_replicant_linux-1396929e8a903db80425343cacca766a18ad6409.tar.gz kernel_replicant_linux-1396929e8a903db80425343cacca766a18ad6409.tar.bz2 kernel_replicant_linux-1396929e8a903db80425343cacca766a18ad6409.zip |
phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
While only the first PHY supports mode switching, the remaining PHYs
work in USB host mode. They should support set_mode with mode=USB_HOST
instead of failing. This is especially needed now that the USB core does
set_mode for all USB ports, which was added in commit b97a31348379 ("usb:
core: comply to PHY framework").
Make set_mode with mode=USB_HOST a no-op instead of failing for the
non-OTG USB PHYs.
Fixes: 6ba43c291961 ("phy-sun4i-usb: Add support for phy_set_mode")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy/renesas')
0 files changed, 0 insertions, 0 deletions