Skip to content

Commit 818b65a

Browse files
oneukumgregkh
authored andcommitted
USB: adutux: fix debugging
[ Upstream commit c56150c ] Handling for removal of the controller was missing at one place. Add it. Signed-off-by: Oliver Neukum <oneukum@suse.com> Link: https://lore.kernel.org/r/20200917112600.26508-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent f43e2b9 commit 818b65a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/usb/misc/adutux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ static void adu_interrupt_out_callback(struct urb *urb)
209209

210210
if (status != 0) {
211211
if ((status != -ENOENT) &&
212+
(status != -ESHUTDOWN) &&
212213
(status != -ECONNRESET)) {
213214
dev_dbg(&dev->udev->dev,
214215
"%s :nonzero status received: %d\n", __func__,

0 commit comments

Comments
 (0)