]> asedeno.scripts.mit.edu Git - linux.git/commit
cdc-wdm: pass return value of recover_from_urb_loss
authorYueHaibing <yuehaibing@huawei.com>
Mon, 18 Feb 2019 14:34:51 +0000 (22:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Feb 2019 13:41:38 +0000 (14:41 +0100)
commit0742a338f5b3446a26de551ad8273fb41b2787f2
tree6fd4038a75a5ada0a1d78ce9f37a09db1c5f9920
parent8e9fd85c59fb22f4dfa55d2d155401aa935d6ab4
cdc-wdm: pass return value of recover_from_urb_loss

'rv' is the correct return value, pass it upstream instead of 0

Fixes: 17d80d562fd7 ("USB: autosuspend for cdc-wdm")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-wdm.c