usb: musb: da8xx: Set phy in OTG mode by default
authorAlexandre Bailon <abailon@baylibre.com>
Mon, 21 Nov 2016 14:59:31 +0000 (08:59 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Nov 2016 16:35:37 +0000 (17:35 +0100)
commit7ccf62941a38701ec9a42b4a0fa2868af456e96a
treef749226b53db354e6a7578b9da0359c5c8ee2abb
parent09721ba6daa19e75446bac463acf9c28e8ed9acc
usb: musb: da8xx: Set phy in OTG mode by default

The DA8xx OTG PHY has some issues when it is forced in host or
peripheral mode. Actually, most of the time, OTG is the best mode
because host or peripheral mode are only required for hardware that
miss some circuitry.
Init the PHY mode OTG mode by default.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/da8xx.c