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>
Wed, 29 Jan 2020 09:24:16 +0000 (10:24 +0100)
commitbdf05b2108a01ccf27124377f9329dd3793b124d
treecf0158461c9a346c6abd9bdbcf0d59de5d6d4328
parent4d33c630d4bb73551dc0411718888c07650b91d5
cdc-wdm: pass return value of recover_from_urb_loss

[ Upstream commit 0742a338f5b3446a26de551ad8273fb41b2787f2 ]

'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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/class/cdc-wdm.c