usb: musb: musb_cppi41: recognize HS devices in hostmode
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 13 Nov 2014 17:28:47 +0000 (18:28 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 18 Nov 2014 15:35:14 +0000 (09:35 -0600)
There is a poll loop for max 25us for HS devices. Now guess what, I
tested it in gadget mode and forgot about the little detail. Nobody seem
to have it noticed…
This patch adds the missing logic for hostmode so it is recognized in
host and device mode properly.

Fixes: 50aea6fca771 ("usb: musb: cppi41: fire hrtimer according to
programmed channel length")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_cppi41.c

Simple merge