USB: appletouch: fix atp_disconnect
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 19 Jul 2006 13:39:46 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Aug 2006 21:06:06 +0000 (14:06 -0700)
commit7af569abc33ce09d3cb93e9b2160efff2531c59f
treeb8d4dd5cf7c9e01049f3cf3483f5b8c8b7c91bf0
parent919aeadcfa8e72ec2d6bf7bd405a16c40b8d8ecf
USB: appletouch: fix atp_disconnect

appletouch uses urb->transfer_dma after having freed the urb, this shows
up only if the system is compiled with slab debugging. This patch fixes
it by reordering the free calls.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/appletouch.c