Skip to content

Commit

Permalink
[PATCH] USB: touchkitusb.c (eGalax driver) fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Juergen Schindele authored and Greg Kroah-Hartman committed Feb 1, 2006
1 parent 5732ce8 commit a001100
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/usb/input/touchkitusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ static int touchkit_probe(struct usb_interface *intf,
touchkit->data, TOUCHKIT_REPORT_DATA_SIZE,
touchkit_irq, touchkit, endpoint->bInterval);

touchkit->irq->transfer_dma = touchkit->data_dma;
touchkit->irq->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;

input_register_device(touchkit->input);

usb_set_intfdata(intf, touchkit);
Expand Down

0 comments on commit a001100

Please sign in to comment.