usb: Fix USB keyboard polling via control endpoint
authorAdrian Cox <adrian@humboldt.co.uk>
Thu, 10 Apr 2014 13:02:44 +0000 (14:02 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 30 Apr 2014 08:30:57 +0000 (10:30 +0200)
commit08a98b89df39d25a1260f390c19be4649dfd303d
treea40d743a2dc27acf19ef2282eb57c71f829fcb30
parentea427775677a4147147b64fce4d0ad1acac04e47
usb: Fix USB keyboard polling via control endpoint

USB keyboard polling failed for some keyboards on PowerPC 5020.
This was caused by requesting only 4 bytes of data from keyboards that
produce an 8 byte HID report.

Signed-off-by: Adrian Cox <adrian@humboldt.co.uk>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Marek Vasut <marex@denx.de>
common/usb_kbd.c