diff options
author | 2011-03-18 18:47:44 +0100 | |
---|---|---|
committer | 2011-03-23 13:14:31 -0700 | |
commit | adaa3c6342b249548ea830fe8e02aa5b45be8688 (patch) | |
tree | 91ebde06e253d49c59c25384aceb43fd438aad38 /kernel | |
parent | usb: musb: blackfin: fix typo in new bfin_musb_vbus_status func (diff) | |
download | wireguard-linux-adaa3c6342b249548ea830fe8e02aa5b45be8688.tar.xz wireguard-linux-adaa3c6342b249548ea830fe8e02aa5b45be8688.zip |
USB: uss720 fixup refcount position
My testprog do a lot of bitbang - after hours i got following warning and my machine lockups:
WARNING: at /build/buildd/linux-2.6.38/lib/kref.c:34
After debugging uss720 driver i discovered that the completion callback was called before
usb_submit_urb returns. The callback frees the request structure that is krefed on return by
usb_submit_urb.
Signed-off-by: Peter Holik <peter@holik.at>
Acked-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions