diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-31 11:11:58 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-19 14:22:37 -0800 |
commit | 12c1515f4aae559359aec9d9381c2657fb19498a (patch) | |
tree | a0ee7de8d495f9ec6305c689f42114cfa1afbf9f /crypto | |
parent | 4bd503f766d2388df8050bb4975918c677709476 (diff) |
xhci: fix placement of call to usb_disabled()
In the backport of 1eaf35e4dd592c59041bc1ed3248c46326da1f5f, the call to
usb_disabled() was too late, after we had already done some allocation.
Move that call to the top of the function instead, making the logic
match what is intended and is in the original patch.
Reported-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions