From patchwork Mon Nov 20 16:16:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13461578 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3C121E527; Mon, 20 Nov 2023 16:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PQgenOGj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33359C433CD; Mon, 20 Nov 2023 16:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700496979; bh=RqLtxq3JS2WZJO5Z7BQnNMc6WxYyQfEIqiv4EGNlGr0=; h=From:To:Cc:Subject:Date:From; b=PQgenOGjN8Ejyic2TC8oSdPje9uSLE+ChZmT2IojOrV2JVwM4LY1pDg295rZaApGa SzQ8Sefrjlq8VNBv7cqNkR9BKfMkIEEuk8ij6oA/TCUv6Ol1EqZmmS9CfgyOkXqUBr ZXEEwuglqN7jLhqZwIKJO5YZWaKMTjiDe51JVoJR42gpqCGRG2OSMACDkVMBYU6RzU S14zyWE7s6d5v9MSwHIZuoWSuxa19ZcD4ABx07HqqnlRErdk9ZtwMrnORFyI1JGhQ9 +lcO22aHCMjuOY27UG6Ek2JZZcse6tweWwcN/pWf+HAedtU3tN19QTeJ+wo/pcx8V/ as+OyRmrB3XJQ== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r56wm-0001vk-1I; Mon, 20 Nov 2023 17:16:28 +0100 From: Johan Hovold To: Greg Kroah-Hartman Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thinh Nguyen , Wesley Cheng , Krishna Kurapati PSSNV , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/3] USB: dwc3: qcom: fix wakeup after probe deferral Date: Mon, 20 Nov 2023 17:16:04 +0100 Message-ID: <20231120161607.7405-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 When testing a recent series that addresses resource leaks on probe deferral [1] I realised that probe deferral can break wakeup from suspend due to how the wakeup interrupts are currently requested. I'll send a separate series for the Qualcomm devicetrees that used incorrect trigger types for the wakeup interrupts. Included here is just a patch fixing the binding example which hopefully will make it less likely that more of these gets introduced. Fortunately, there should be no dependency between this series and the devicetree one. Note also that I decided to include a related trivial cleanup patch. Johan [1] https://lore.kernel.org/lkml/20231117173650.21161-1-johan+linaro@kernel.org/ Johan Hovold (3): dt-bindings: usb: qcom,dwc3: fix example wakeup interrupt types USB: dwc3: qcom: fix wakeup after probe deferral USB: dwc3: qcom: simplify wakeup interrupt setup Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 4 ++-- drivers/usb/dwc3/dwc3-qcom.c | 12 ++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) Reviewed-by: Andrew Halaney