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>
This commit is contained in:
Kuninori Morimoto 2011-12-08 18:24:47 -08:00 коммит произвёл Felipe Balbi
Родитель b95eb7476e
Коммит 1115b9e279
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1267,6 +1267,7 @@ int usbhs_mod_host_probe(struct usbhs_priv *priv)
dev_err(dev, "Failed to create hcd\n"); dev_err(dev, "Failed to create hcd\n");
return -ENOMEM; return -ENOMEM;
} }
hcd->has_tt = 1; /* for low/full speed */
pipe_info = kzalloc(sizeof(*pipe_info) * pipe_size, GFP_KERNEL); pipe_info = kzalloc(sizeof(*pipe_info) * pipe_size, GFP_KERNEL);
if (!pipe_info) { if (!pipe_info) {