USB: cdc-wdm: add debug messages on cleanup
authorBjørn Mork <bjorn@mork.no>
Mon, 30 Apr 2012 07:26:11 +0000 (09:26 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 30 May 2012 23:43:41 +0000 (00:43 +0100)
commit0c68ab1b23871bbfa1bb7e792d476e9618a749c0
treebcec4325ef6a6cd554fa9b20a2d0b88d4ad1a1c2
parent26f15a29b18316e896973407efccebabbf8542f2
USB: cdc-wdm: add debug messages on cleanup

commit 880bca3a2a6f159d7453e0cbcbfe2f1d8204d907 upstream.

Device state cleanup is done in either wdm_disconnect or
wdm_release depending on the order they are called. Adding
a couple of debug messages to document the program flow.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/class/cdc-wdm.c