USB: cdc-acm: do not update PM busy on read errors
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:49 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:10 +0000 (15:04 -0700)
commit4a8ee5059a241114c644350b6cb564c729a340fa
tree7f16ba87cb1a1a277055bca4579178395092b0b4
parentb1d42efc217fdc1a6a704b344fd902ae52a012c8
USB: cdc-acm: do not update PM busy on read errors

There's no need to update the runtime PM last_busy field on read urb
errors (e.g. when the urb is being killed on shutdown).

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c