summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-12-08 18:24:47 -0800
committerFelipe Balbi <balbi@ti.com>2011-12-12 12:24:42 +0200
commit1115b9e279a23ca0bf7eda7d7697fe20a441304e (patch)
tree9035b8d4fcb94e367127f81a6401b1429e92bc4b /drivers/usb
parentb95eb7476e7224baae34f67ae9a09042521e97ff (diff)
downloadop-kernel-dev-1115b9e279a23ca0bf7eda7d7697fe20a441304e.zip
op-kernel-dev-1115b9e279a23ca0bf7eda7d7697fe20a441304e.tar.gz
usb: renesas_usbhs: add hcd->has_tt for low/full speed
Low/Full speed device is not recognized without this patch Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/renesas_usbhs/mod_host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c
index bade761..7955de5 100644
--- a/drivers/usb/renesas_usbhs/mod_host.c
+++ b/drivers/usb/renesas_usbhs/mod_host.c
@@ -1267,6 +1267,7 @@ int usbhs_mod_host_probe(struct usbhs_priv *priv)
dev_err(dev, "Failed to create hcd\n");
return -ENOMEM;
}
+ hcd->has_tt = 1; /* for low/full speed */
pipe_info = kzalloc(sizeof(*pipe_info) * pipe_size, GFP_KERNEL);
if (!pipe_info) {
OpenPOWER on IntegriCloud