commit 9719b0c298bd6a4a608843dc989a5f94cd0a7c13 tree 72abe7e0dd4b4135ca8b2d6f4e7cb81bd173a437 parent f3fae6ed6aafe71826e03876ad3d4e1d3f238ec8 author Patrick Boettcher <[EMAIL PROTECTED]> 1114287375 -0700 committer Greg KH <[EMAIL PROTECTED]> 1114287375 -0700
[PATCH] USB: Fix for ati_remote when stealing code from ati_remote for a GPL-driver of my usbradio (because of its neat usb int transfers) I found out, that the inbuf is freed twice. I don't have the ati-remote, so I don't know it is a problem at all, but it looks strange to me anyway. Also I don't know if it has been fixed already in newer kernel versions. From: Patrick Boettcher <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> Index: drivers/usb/input/ati_remote.c =================================================================== --- 9c85c51031ae67ef9e8448a57ba4037d95899ccc/drivers/usb/input/ati_remote.c (mode:100644 sha1:355add5c29f57edb4caf030bd390e2b07f9790ec) +++ 72abe7e0dd4b4135ca8b2d6f4e7cb81bd173a437/drivers/usb/input/ati_remote.c (mode:100644 sha1:860df26323b163ede689f4b259ff9dcef19e405c) @@ -619,7 +619,7 @@ if (ati_remote->outbuf) usb_buffer_free(ati_remote->udev, DATA_BUFSIZE, - ati_remote->inbuf, ati_remote->outbuf_dma); + ati_remote->outbuf, ati_remote->outbuf_dma); if (ati_remote->irq_urb) usb_free_urb(ati_remote->irq_urb); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel