diff options
author | Stephen Warren <swarren@nvidia.com> | 2015-11-13 13:34:09 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-17 21:54:41 +0100 |
commit | e4b70d80350c1238fa07872d71c19e3ddbf53b76 (patch) | |
tree | 26505fbc6c2cfc9af2bc49766c8116acad159798 /include | |
parent | fee331f66c923bd1b481b4a72fe7814e5436daed (diff) | |
download | u-boot-imx-e4b70d80350c1238fa07872d71c19e3ddbf53b76.zip u-boot-imx-e4b70d80350c1238fa07872d71c19e3ddbf53b76.tar.gz u-boot-imx-e4b70d80350c1238fa07872d71c19e3ddbf53b76.tar.bz2 |
usb: kbd: don't use int xfers when polling via ctrl xfers
When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a
GET_REPORT control transfer to retrieve the initial state of the
keyboard. This matches the technique used to poll the keyboard state.
This is useful since it eliminates the remaining use of interrupt
transfers from the USB keyboard driver, which allows it to work with
USB HCD that don't support interrupt transfers.
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions