usb: musb: dsps: print babble message only when musb is active host
authorRavi Babu <ravibabu@ti.com>
Tue, 2 Apr 2013 07:51:54 +0000 (13:21 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 2 Apr 2013 08:42:50 +0000 (11:42 +0300)
commit96449f097e3874af0e8ddd721d3ebeed2ec389da
treec308014a781fb9941754889ca4789aa1f5909455
parent8408fd1d83e39bf856d31a36b70bcc53527702fd
usb: musb: dsps: print babble message only when musb is active host

The musb controller uses single bit defintion for both reset and
babble events. The babble event is valid only when controller is
active a-host, and hence print the babble message only when the
controller is active a-host.

Signed-off-by: Ravi Babu <ravibabu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c