diff options
| author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-09-19 22:00:41 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-14 20:03:06 +0100 |
| commit | 57d09152eef9e1afca04b2f7bebccd07e0efa881 (patch) | |
| tree | a4e45d356f635667be239db374e3831375dc74d8 /arch/powerpc/sysdev/qe_lib/gpio.c | |
| parent | 8c67bbd0754f8b35f28d8b5626c16d5721e9a8f7 (diff) | |
rtl8xxxu: prevent leaking urb
commit a2cdd07488e666aa93a49a3fc9c9b1299e27ef3c upstream.
In rtl8xxxu_submit_int_urb if usb_submit_urb fails the allocated urb
should be released.
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Reviewed-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Cc: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/sysdev/qe_lib/gpio.c')
0 files changed, 0 insertions, 0 deletions
