From patchwork Fri May 12 13:14:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 681768 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 656AEC7EE26 for ; Fri, 12 May 2023 13:15:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240981AbjELNPo (ORCPT ); Fri, 12 May 2023 09:15:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241074AbjELNPm (ORCPT ); Fri, 12 May 2023 09:15:42 -0400 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F4B514E42; Fri, 12 May 2023 06:15:01 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 172AC20690; Fri, 12 May 2023 15:14:42 +0200 (CEST) From: Francesco Dolcini To: Greg Kroah-Hartman , linux-usb@vger.kernel.org, stable@vger.kernel.org Cc: Francesco Dolcini , Badhri Jagan Sridharan Subject: [PATCH v1 0/2] usb: gadget: udc: core: fix hang during configuration Date: Fri, 12 May 2023 15:14:33 +0200 Message-Id: <20230512131435.205464-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Francesco Dolcini These revert 2 patches that cause a regression introduced in v6.4-rc1 and that were back-ported to stable/LTS kernels. The regression is that the USB gadget configuration hangs forever. Link: https://lore.kernel.org/all/ZF4BvgsOyoKxdPFF@francesco-nb.int.toradex.com/ Francesco Dolcini (2): Revert "usb: gadget: udc: core: Prevent redundant calls to pullup" Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started" drivers/usb/gadget/udc/core.c | 151 ++++++++++------------------------ 1 file changed, 44 insertions(+), 107 deletions(-)