aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/speakup/selection.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2014-05-28 23:51:13 +0300
committerShow Liu <show.liu@linaro.org>2014-06-18 12:05:26 +0800
commit4d471eeec0beb010e2278c70bcfed91818c5e055 (patch)
tree8c55a02f966563a669c332a659cc5048312b4772 /drivers/staging/speakup/selection.c
parent04415607200bffa5cc73358333ca76f0f6679264 (diff)
xhci: delete endpoints from bandwidth list before freeing whole device
commit 5dc2808c4729bf080487e61b80ee04e0fdb12a37 upstream. Lists of endpoints are stored for bandwidth calculation for roothub ports. Make sure we remove all endpoints from the list before the whole device, containing its endpoints list_head stuctures, is freed. This used to be done in the wrong order in xhci_mem_cleanup(), and triggered an oops in resume from S4 (hibernate). Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/selection.c')
0 files changed, 0 insertions, 0 deletions