diff options
author | Patrick Boettcher <patrick.boettcher@desy.de> | 2005-04-23 13:16:15 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-23 13:16:15 -0700 |
commit | 9719b0c298bd6a4a608843dc989a5f94cd0a7c13 (patch) | |
tree | 72abe7e0dd4b4135ca8b2d6f4e7cb81bd173a437 /drivers/usb/input/ati_remote.c | |
parent | f3fae6ed6aafe71826e03876ad3d4e1d3f238ec8 (diff) | |
download | op-kernel-dev-9719b0c298bd6a4a608843dc989a5f94cd0a7c13.zip op-kernel-dev-9719b0c298bd6a4a608843dc989a5f94cd0a7c13.tar.gz |
[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 <patrick.boettcher@desy.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/input/ati_remote.c')
-rw-r--r-- | drivers/usb/input/ati_remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/ati_remote.c b/drivers/usb/input/ati_remote.c index 355add5..860df26 100644 --- a/drivers/usb/input/ati_remote.c +++ b/drivers/usb/input/ati_remote.c @@ -619,7 +619,7 @@ static void ati_remote_delete(struct ati_remote *ati_remote) 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); |