android_kernel_oneplus_msm8998/drivers/uwb
Thomas Pugliese c654ecbbfe HWA RC: fix a kernel panic when unplugging the HWA dongle
This patch fixes a kernel panic that can occur when unplugging the HWA
dongle while a downstream device is in the process of disconnecting.
This involved 2 changes.  First, call usb_lock_device_for_reset before
usb_reset_device to synchronize the HWA's post_rest and disconnect
routines.  Second, set the hwarc->neep_urb and hwarc->rd_buffer to NULL
when they are freed in the error path in the post_reset routine.  This
prevents a double free when the disconnect routine is called and attempts
to free those resources again.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-12 15:41:08 -07:00
..
i1480
address.c
allocator.c
beacon.c
driver.c
drp-avail.c
drp-ie.c
drp.c usb: uwb: use correct locking calls for rc data 2013-05-21 11:48:03 -07:00
est.c uwb: use %*ph specifier to dump buffer 2013-06-03 14:33:26 -07:00
hwa-rc.c HWA RC: fix a kernel panic when unplugging the HWA dongle 2013-08-12 15:41:08 -07:00
ie-rcv.c
ie.c
Kconfig
lc-dev.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
lc-rc.c
Makefile
neh.c
pal.c USB: HWA: fix device probe failure 2013-06-24 16:20:43 -07:00
radio.c
reset.c
rsv.c usb: uwb: use correct locking calls for rc data 2013-05-21 11:48:03 -07:00
scan.c
umc-bus.c
umc-dev.c
umc-drv.c
uwb-debug.c
uwb-internal.h USB: HWA: fix device probe failure 2013-06-24 16:20:43 -07:00
uwbd.c
whc-rc.c
whci.c