commit | b1d42efc217fdc1a6a704b344fd902ae52a012c8 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Mon May 26 19:23:48 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 27 15:04:10 2014 -0700 |
tree | 8ecdc055e6f6c6b1c794d9b08b131840e0918568 | |
parent | 89e54e4468338df5a4ab7627c5b8b10786ee43e8 [diff] |
USB: cdc-acm: minimise no-suspend window during shutdown Now that acm_set_control() handles runtime PM properly, the only remaining reason for the PM operations in shutdown is to clear the needs_remote_wakeup flag before the final put. Note that this also means that we now need to grab the write_lock to prevent racing with resume. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>