commit | feb0a36a523b9fd07275b12f76b344901f884253 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Tue Apr 16 18:01:26 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 17 10:05:35 2013 -0700 |
tree | 5c0f75fd2919887b2975a2dfc5190ab1e98c3619 | |
parent | 9c0343aa6cbbb62b8b829c87b15839f35bdebbf2 [diff] |
USB: kobil_sct: use port interrupt-out urb Use the port interrupt-out urb rather than abusing the port write_urb pointer and allocating a new urb at every open (but the first...). Note that the write_urb abuse would have led to a double free should there ever be interfaces with a bulk-out endpoint. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>