usb: musb: honour initial transceiver state
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 26 Feb 2013 00:52:24 +0000 (02:52 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 12 Mar 2013 21:45:56 +0000 (23:45 +0200)
commit6aaf9ca301254ace90bf531142e9d0e3e75dbab3
tree3513afc6369c734874aaeb787df51d922fd4ea7d
parenta0431f2a3d8ceb9c9d72a6526bb4bc5145d180f0
usb: musb: honour initial transceiver state

As the OTG transceiver driver usually starts first, it should already
have default_a variable set according to ID pin state, so don't
override it. In case default_a was not changed by trasceiver, it will
default to 0 and this code will work as before.
drivers/usb/musb/musb_core.c