commit | bbf0cb3e93a1b6ef8bf22a67f35d7c98ef378f2b | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Mon May 26 19:23:46 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 27 15:04:09 2014 -0700 |
tree | 7e11e0058cc745b5e64e5d247369fab6b3b102ab | |
parent | 5292afa657d0e790b7479ad8eef9450c1e040b3d [diff] |
USB: cdc-acm: simplify runtime PM locking We can simply the runtime PM locking as there's no need to check the susp_count in the read path (at least not since killing the rx tasklet). Specifically, the read urbs will never be resubmitted by the completion handler when killed during suspend. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>