From patchwork Tue Nov 3 20:36:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 317110 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9BCAC2D0A3 for ; Tue, 3 Nov 2020 21:04:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 65BAD2236F for ; Tue, 3 Nov 2020 21:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437458; bh=Xu70fxbTZGEsYkunrMgxbto5TJpcxT1rl9ZuqXvRkOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=RVyDjsiZvea4afKkSZ4A+MfpHOLzHgR/SB+VpN5zPpAH4II7gSKA7FOa3IgflgKH2 nQfQGBp48oQhaMLPuGToucFscBivvIf6juTBBhpn75Uhfq2dPaLXyKK5RvA94T/W5G LXHIJ1Z771X9kQTxobSTQqRVounb18NAa+351pyM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387574AbgKCVER (ORCPT ); Tue, 3 Nov 2020 16:04:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:42290 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387965AbgKCVEQ (ORCPT ); Tue, 3 Nov 2020 16:04:16 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CAF86205ED; Tue, 3 Nov 2020 21:04:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437456; bh=Xu70fxbTZGEsYkunrMgxbto5TJpcxT1rl9ZuqXvRkOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xfio4jtt++8wIQFp2+6GSBdFAg4tJGBcNfDlljgkSgoSn/vKYgmP8wSEhcRKTk6Zq fkk6LuTmExJ16zG8Y7RimYh+3FcCsIgvQFZWZQhNP3iOfzSIP68kNdfhwUZVpWP4XW DrSFLvu/NdJdqy3hYgfafCHhVOP4YUjyntb528z4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oliver Neukum , Sasha Levin Subject: [PATCH 4.19 083/191] USB: adutux: fix debugging Date: Tue, 3 Nov 2020 21:36:15 +0100 Message-Id: <20201103203241.912007507@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203232.656475008@linuxfoundation.org> References: <20201103203232.656475008@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Oliver Neukum [ Upstream commit c56150c1bc8da5524831b1dac2eec3c67b89f587 ] Handling for removal of the controller was missing at one place. Add it. Signed-off-by: Oliver Neukum Link: https://lore.kernel.org/r/20200917112600.26508-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/misc/adutux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index b8073f36ffdc6..62fdfde4ad03e 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c @@ -209,6 +209,7 @@ static void adu_interrupt_out_callback(struct urb *urb) if (status != 0) { if ((status != -ENOENT) && + (status != -ESHUTDOWN) && (status != -ECONNRESET)) { dev_dbg(&dev->udev->dev, "%s :nonzero status received: %d\n", __func__,