From patchwork Wed Dec 8 19:21:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Shtylyov X-Patchwork-Id: 522448 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 4EFA2C43219 for ; Wed, 8 Dec 2021 19:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232386AbhLHTZO (ORCPT ); Wed, 8 Dec 2021 14:25:14 -0500 Received: from mxout03.lancloud.ru ([45.84.86.113]:44946 "EHLO mxout03.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239908AbhLHTY4 (ORCPT ); Wed, 8 Dec 2021 14:24:56 -0500 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout03.lancloud.ru D5B1B2060057 Received: from LanCloud Received: from LanCloud Received: from LanCloud From: Sergey Shtylyov To: , Greg Kroah-Hartman , Felipe Balbi , Alan Stern , Bin Liu Subject: [PATCH v2 00/10] Fix deferred probing in the USB host/gadget drivers Date: Wed, 8 Dec 2021 22:21:08 +0300 Message-ID: <20211208192118.7483-1-s.shtylyov@omp.ru> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Here are 10 patches against the 'usb-linus' branch of Greg KH's 'usb.git' repo. The affected host/gadget drivers call platform_get_irq() but override its result in case of error which prevents the deferred probing from working. These patches now logically depend on the previously posted patch: https://marc.info/?l=linux-kernel&m=163623041902285 Sergey Shtylyov (10): usb: gadget: udc: bcm63xx: fix deferred probing usb: gadget: udc: gr: fix deferred probing usb: gadget: udc: pxa25x: fix deferred probing usb: host: ehci-atmel: fix deferred probing usb: host: ehci-orion: fix deferred probing usb: host: ehci-sh: fix deferred probing usb: host: ohci-da8xx: fix deferred probing usb: host: ohci-nxp: fix deferred probing usb: host: ohci-omap: fix deferred probing usb: musb: core: fix deferred probing drivers/usb/gadget/udc/bcm63xx_udc.c | 8 ++++++-- drivers/usb/gadget/udc/gr_udc.c | 8 ++++---- drivers/usb/gadget/udc/pxa25x_udc.c | 2 +- drivers/usb/host/ehci-atmel.c | 4 ++-- drivers/usb/host/ehci-orion.c | 4 ++-- drivers/usb/host/ehci-sh.c | 4 ++-- drivers/usb/host/ohci-da8xx.c | 2 +- drivers/usb/host/ohci-nxp.c | 2 +- drivers/usb/host/ohci-omap.c | 2 +- drivers/usb/musb/musb_core.c | 4 ++-- 10 files changed, 22 insertions(+), 18 deletions(-)