diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-10-25 10:29:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 11:47:12 -0800 |
commit | 368c8c73d4648843bece41f7c083f11fa4d1aa36 (patch) | |
tree | 466b890101e8f92b6f0fdbc03d9d49b23aa7fc7e /block/blk-softirq.c | |
parent | 47abf714aab1e2f5c293f54a3bd3f0ef7534c38e (diff) |
USB: mct_u232: fix broken close
commit 5260e458f5eff269a43e4f1e9c47186c57b88ddb upstream.
Make sure generic close is called at close.
The driver relies on the generic write implementation but did not call
generic close.
Note that the call to kill the read urb is not redundant, as mct_u232
uses an interrupt urb from the second port as the read urb and that
generic close therefore fails to kill it.
Compile-only tested.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions