diff options
author | Johan Hovold <jhovold@gmail.com> | 2014-05-26 19:23:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 15:04:09 -0700 |
commit | bbf0cb3e93a1b6ef8bf22a67f35d7c98ef378f2b (patch) | |
tree | 7e11e0058cc745b5e64e5d247369fab6b3b102ab /sound/last.c | |
parent | 5292afa657d0e790b7479ad8eef9450c1e040b3d (diff) | |
download | linux-bbf0cb3e93a1b6ef8bf22a67f35d7c98ef378f2b.tar.gz linux-bbf0cb3e93a1b6ef8bf22a67f35d7c98ef378f2b.tar.bz2 linux-bbf0cb3e93a1b6ef8bf22a67f35d7c98ef378f2b.zip |
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>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions