From patchwork Tue Nov 3 20:32:44 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: 317213 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 6CA24C388F9 for ; Tue, 3 Nov 2020 20:42:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F62E223BD for ; Tue, 3 Nov 2020 20:42:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604436126; bh=2ZLn6hQ5ANk1VgugJ0lJVLt3foxuse82q5EXkGUI1tA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=CXBxv9VbewU1nE5wkyhdR9mOeCwglbqZ6YidBfgZpUzICi2FXfAwypWs1B5knJYP/ EBioFzWC+ssNGDzrsivMAKvhgQI+qHPF9ZgfCxCi/1QNP13ZqfolOKWdeWKwmy6ODR 4V2GD7n7mXXNBYD7FJstyWYdUpOAft61ipazfTWY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730462AbgKCUmD (ORCPT ); Tue, 3 Nov 2020 15:42:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:54064 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730459AbgKCUmB (ORCPT ); Tue, 3 Nov 2020 15:42:01 -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 1908622226; Tue, 3 Nov 2020 20:42:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604436121; bh=2ZLn6hQ5ANk1VgugJ0lJVLt3foxuse82q5EXkGUI1tA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LSKsFJLI7KIN4l9+v9EmX2CRFPKfIerBkcF2stlSiSltvsoJ8n5eQ2qBkCkOkDuqA J16ophm5MI8mfEwQUjLogOfCrepWTZRr44WUAqP5t3WQMFNQVp/F88+JXh70YDaUhI FkdCpNsEzxkn36+Ui4x+elLhTznYX+eOvbmzTMH0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oliver Neukum , Sasha Levin Subject: [PATCH 5.9 113/391] USB: adutux: fix debugging Date: Tue, 3 Nov 2020 21:32:44 +0100 Message-Id: <20201103203354.447264377@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203348.153465465@linuxfoundation.org> References: <20201103203348.153465465@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 a7eefe11f31aa..45a3879799352 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__,