usb: host: ehci-msm: Remove dependency on OTG PHY
authorJack Pham <jackp@codeaurora.org>
Fri, 11 Dec 2015 00:28:54 +0000 (18:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2016 04:51:18 +0000 (20:51 -0800)
commitc4398ef609ed1f39b65190867837a6bf517616b6
tree74cfea08b87ff18a1a1ec8e33f1bef94f5f470bc
parent132f5005abbd480b66c58f8113ed876b99b6318e
usb: host: ehci-msm: Remove dependency on OTG PHY

Currently the EHCI MSM driver has a hard dependency to be created
by an OTG layer, namely the phy-msm-usb driver. In some cases or
board configurations we want to allow the EHCI host to be
instantiated without OTG capability. Instead, relax the dependency
on having an OTG PHY being present and call usb_add_hcd() directly.

Signed-off-by: Jack Pham <jackp@codeaurora.org>
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-msm.c