usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED
authorEric Nelson <eric.nelson@boundarydevices.com>
Mon, 29 Sep 2014 01:35:14 +0000 (18:35 -0700)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:44 +0000 (14:50 +0200)
commite206799370f77097a29577599960b7f123f61b8c
treeb0707b4437aa5a103f7af887c055e42edcc0c871
parent23d1d10c4248f1b9f838e512e7f18e600f06b348
usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED

Force full-speed (12 Mbit/s) operation if CONFIG_USB_GADGET_DUALSPEED
is not defined.

The controller is capable of high-speed (480 Mbit/s) operation,
but some designs may require the use of lower-speed operation.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
drivers/usb/gadget/ci_udc.c