diff options
author | Juergen Schindele <schindele@nentec.de> | 2006-01-09 02:51:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 20:23:38 -0500 |
commit | a001100d8e4bf8ad98663d3ec1b91e4161267937 (patch) | |
tree | 54f3ad162aab15953936da1a0703a6b220702b90 | |
parent | 5732ce8424527ec271e8fa43709948852aa3fc0a (diff) |
[PATCH] USB: touchkitusb.c (eGalax driver) fix
This patch corrects the URB initialisation for transfers
like this is done in other drivers too.
Without this patch no data was transmitted on a PXA270 OHCI
platform. May apply to others too.
Signed-off-by: Juergen Schindele <schindele@nentec.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/input/touchkitusb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/input/touchkitusb.c b/drivers/usb/input/touchkitusb.c index 3b3c7b4120a..697c5e573a1 100644 --- a/drivers/usb/input/touchkitusb.c +++ b/drivers/usb/input/touchkitusb.c | |||
@@ -337,6 +337,9 @@ static int touchkit_probe(struct usb_interface *intf, | |||
337 | touchkit->data, TOUCHKIT_REPORT_DATA_SIZE, | 337 | touchkit->data, TOUCHKIT_REPORT_DATA_SIZE, |
338 | touchkit_irq, touchkit, endpoint->bInterval); | 338 | touchkit_irq, touchkit, endpoint->bInterval); |
339 | 339 | ||
340 | touchkit->irq->transfer_dma = touchkit->data_dma; | ||
341 | touchkit->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; | ||
342 | |||
340 | input_register_device(touchkit->input); | 343 | input_register_device(touchkit->input); |
341 | 344 | ||
342 | usb_set_intfdata(intf, touchkit); | 345 | usb_set_intfdata(intf, touchkit); |