From: Johan Hovold Date: Mon, 26 May 2014 17:22:53 +0000 (+0200) Subject: USB: sierra: fix urb and memory leak on disconnect X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~138 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=014333f77c0b71123d6ef7d31a9724e0699c9548;p=pandora-kernel.git USB: sierra: fix urb and memory leak on disconnect The delayed-write queue was never emptied on disconnect, something which would lead to leaked urbs and transfer buffers if the device is disconnected before being runtime resumed due to a write. Fixes: e6929a9020ac ("USB: support for autosuspend in sierra while online") Cc: # v2.6.32 Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed