diff options
| author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2019-05-14 14:38:31 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-21 10:25:58 +0200 |
| commit | fea3af5e0358b014c653561109c11ebd3ecdbff2 (patch) | |
| tree | 4030893ec3bd74461161941c04774927be5216e2 /net/lapb/lapb_timer.c | |
| parent | d991f855cb4f84c638e2016818259720ceed4191 (diff) | |
usb: core: hub: Enable/disable U1/U2 in configured state
SET_FEATURE(U1/U2_ENABLE) and CLEAR_FEATURE(U1/U2) only apply while the
device is in configured state. Add proper check in usb_disable_lpm() and
usb_enable_lpm() for enabling/disabling device-initiated U1/U2.
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
