diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2011-08-24 10:55:40 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-09-07 09:50:49 +0200 |
| commit | 9b87e19bc7adea69bd55ae9c64b8a7fb81214726 (patch) | |
| tree | 02653f825333191bee56ca9d5b528ff514b6bbed /hw/mst_fpga.c | |
| parent | 40197c359b1f06cbaae5460336bca241c35f266e (diff) | |
| download | focaccia-qemu-9b87e19bc7adea69bd55ae9c64b8a7fb81214726.tar.gz focaccia-qemu-9b87e19bc7adea69bd55ae9c64b8a7fb81214726.zip | |
usb-host: fix halted endpoints
Two fixes for the price of one ;) First, reinitialize the endpoint table after device reset. This is needed anyway as the reset might have switched interfaces. It also clears the endpoint halted state. Second the CLEAR_HALT ioctl wants a unsigned int passed in as argument, not uint8_t. This gets my usb sd card reader (sandisk micromate) going. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions