From schindele@nentec.de Sun Jan 8 23:55:21 2006 From: Juergen Schindele To: Greg KH Subject: USB: touchkitusb.c (eGalax driver) fix Date: Mon, 9 Jan 2006 08:51:48 +0100 Message-Id: <200601090851.48435.schindele@nentec.de> 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 Signed-off-by: Greg Kroah-Hartman --- drivers/usb/input/touchkitusb.c | 3 +++ 1 file changed, 3 insertions(+) --- gregkh-2.6.orig/drivers/usb/input/touchkitusb.c +++ gregkh-2.6/drivers/usb/input/touchkitusb.c @@ -337,6 +337,9 @@ static int touchkit_probe(struct usb_int 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);