summaryrefslogtreecommitdiffstats
path: root/drivers/power/wm831x_backup.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2014-02-28 14:31:55 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-28 16:13:09 -0800
commit618836cc3478aec3dc9a60488bfd43ca93a322bd (patch)
treed43998e5913e7c21bfc0ed122cf8bd08df74e063 /drivers/power/wm831x_backup.c
parentf080a51bef2caa9b0f647dc430bc608d5723ac29 (diff)
downloadtalos-obmc-linux-618836cc3478aec3dc9a60488bfd43ca93a322bd.tar.gz
talos-obmc-linux-618836cc3478aec3dc9a60488bfd43ca93a322bd.zip
usb: wusbcore: fix kernel panic on HWA unplug
This patch adds ref counting to sections of code that operate on struct wa_xfer objects that were missing it. Specifically, error handling cases need to be protected from freeing the xfer while it is still in use elsewhere. This fixes a kernel panic that can occur when pulling the HWA dongle while data is being transferred to a wireless device. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power/wm831x_backup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud