OSDN Git Service

usb: musb: core: honour initial transceiver state
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 10 Mar 2013 00:48:55 +0000 (02:48 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 22 Mar 2013 06:40:48 +0000 (08:40 +0200)
commite5615112807c27dd256f0bd8fc8b1f6f5e1b90af
tree8ed30f332433febf67c9850bf17ecfd901cc54e0
parent4261b8f3538c1cae63e30110a164614ea2f10299
usb: musb: core: honour initial transceiver state

As the usb 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.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c