Message ID | 20221220004427.1.If5e7ec83b1782e4dffa6ea759416a27326c8231d@changeid |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2700558wrn; Mon, 19 Dec 2022 16:52:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXtFLjMsUhP5lGDAPbWpTaUld1k+bywoz0gNifCGmsLLlWvA0rgkAaIDYBou/FVaEL1TcWcl X-Received: by 2002:a17:907:9a8c:b0:7fc:3fe0:6053 with SMTP id km12-20020a1709079a8c00b007fc3fe06053mr9016628ejc.6.1671497525406; Mon, 19 Dec 2022 16:52:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671497525; cv=none; d=google.com; s=arc-20160816; b=BHru0ejMQPd7jjE7Dps+PaYwQQzjKa8aI29LsnrnhB606VsWQOdyz9401OPx5zAa+f f8DnT+zrn8K9sdH2Fz29Fyh9ar8U5LXBC5lSEQaxt/tDIK0OZWLp7h5bi0TqaFAs0Wgc FxmX4gRWRLq2g5LKxr4AEr8Lu3Pegb4hRcBnELgK0AXZzbnKSdNe8pZSQ8aBYyx7iQ3A uRHqPsgWpYBr9OnN+AcVTrZ37Yt6cyDLqBxgIlnKk9ivSgVSJwut+7SUwupn0/xDvfLf K9w/2VqUkkyTkPqvfGpCGaOwpQoj5g/9vPmdZjIRirNZcUzcvGKKcNIgkB6CpNh5evfp 78Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/kW9afR+WJfD78PYEA9902jKuxZ9bWlkIHqcxq3mYrY=; b=zRd+dgfHWe5A+Sfb/nTuZk31zHz/j3SiMuTfJC+adI7elT6ijcP2DTGlfBFCtq+fmG KWZzQia4T/nJiREljRR1pfKahrkiJ8l0IHNMmDx1IJie2f9LmqNXbkXmsb73smUjr6/g fzsAL4xL3u5RF2lM1kwAdfukb/CUkoTvqybKGX9KX5pUBl+gNqZiaS2+gATz2HmhvIr4 f2PRHKeg68rAnXLo7BbFEJwObmWWVLZul3NqGNyEN2mAtrilNmkbcUQb3ilnU8WmYYlR hSnlfp4NNO+ifun41sTjyZjJK/b2NpwYQXFQcoG8dCi8dxpE/UGp7/Q9PZzHlzZ3uV6l rQhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gaucniKo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020a1709063b8800b007c19a717e70si5988662ejf.964.2022.12.19.16.51.42; Mon, 19 Dec 2022 16:52:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gaucniKo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229527AbiLTApJ (ORCPT <rfc822;abdi.embedded@gmail.com> + 99 others); Mon, 19 Dec 2022 19:45:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbiLTApI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Dec 2022 19:45:08 -0500 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EF9C1D7 for <linux-kernel@vger.kernel.org>; Mon, 19 Dec 2022 16:45:06 -0800 (PST) Received: by mail-il1-x131.google.com with SMTP id u8so2088082ilq.13 for <linux-kernel@vger.kernel.org>; Mon, 19 Dec 2022 16:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/kW9afR+WJfD78PYEA9902jKuxZ9bWlkIHqcxq3mYrY=; b=gaucniKopVtZLNUzEBZkqkKHLOv9U85lRvjbCRadwBozy11RFwpAw+P//ndaM+nLWz tNX5dyYos/5QC5CJQgbKkjgFcVp4ic7jd/1rdfT39yI9ZrW6ufAnN0jWkM8X06w8QeWN o/WUP1eItbin+c5NKzhhNh2fVbhpKPXK46Jf4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/kW9afR+WJfD78PYEA9902jKuxZ9bWlkIHqcxq3mYrY=; b=NNocYMg+NHY11hDE0Csg5ieNvvw2LPbpLfjnER7aTZ3CMHEv0Eb75NnahR3s2MqSMT Qibf9LAape0JyxF7XlMvgpmhQdlxUNhfkjfg0IUmLlDH9fBX1+/esDl/zJtFQnIS/+YF lBS8kXS7rJHKGVPkXW11AVqCEjKdOPoTXKHXbChIj+IN7wzFWptGNLDcfCU3yzVK2Wsu RqwW5LdGf/mdAyA2CkhC/D9BQ0TgZLIJC1RChE4zhTz+pD284eEA59NShyu4IllPFOvu 0Gr8RVHQ6aksNSXzpTlsb+51Ckue4IAEtF1svmmGB8q6u2iZPO8DzAh4Srx2LVAjZKxC XNCA== X-Gm-Message-State: ANoB5pk73GQvl7Om8f5pHbZm2FMd4nVyP2DBmjK68zFlpogAA6U0G2sr i4oPkGYQuFNPLkATIK82gdXuyA== X-Received: by 2002:a92:d5d1:0:b0:304:bd9f:1aed with SMTP id d17-20020a92d5d1000000b00304bd9f1aedmr18106323ilq.6.1671497106047; Mon, 19 Dec 2022 16:45:06 -0800 (PST) Received: from localhost (30.23.70.34.bc.googleusercontent.com. [34.70.23.30]) by smtp.gmail.com with UTF8SMTPSA id z6-20020a92cec6000000b0030380d1e24bsm3788833ilq.30.2022.12.19.16.45.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 16:45:05 -0800 (PST) From: Matthias Kaehlcke <mka@chromium.org> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Douglas Anderson <dianders@chromium.org>, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Stefan Wahren <stefan.wahren@i2se.com>, Matthias Kaehlcke <mka@chromium.org>, Ravi Chandra Sadineni <ravisadineni@chromium.org> Subject: [PATCH] usb: misc: onboard_usb_hub: Don't defer probing for 'incomplete' DT nodes Date: Tue, 20 Dec 2022 00:45:01 +0000 Message-Id: <20221220004427.1.If5e7ec83b1782e4dffa6ea759416a27326c8231d@changeid> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752692189209484613?= X-GMAIL-MSGID: =?utf-8?q?1752692189209484613?= |
Series |
usb: misc: onboard_usb_hub: Don't defer probing for 'incomplete' DT nodes
|
|
Commit Message
Matthias Kaehlcke
Dec. 20, 2022, 12:45 a.m. UTC
Some boards have device tree nodes for USB hubs supported by the
onboard_usb_hub driver, but the nodes don't have all properties
needed for the driver to work properly (which is not necessarily
an error in the DT). Currently _find_onboard_hub() returns
-EPROBE_DEFER in such cases, which results in an unusable USB hub,
since successive probes fail in the same way. Use the absence of
the "vdd" supply as an indicator of such 'incomplete' DT nodes
and return -ENODEV.
Fixes: 8bc063641ceb ("usb: misc: Add onboard_usb_hub driver")
Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
---
drivers/usb/misc/onboard_usb_hub.c | 9 +++++++++
1 file changed, 9 insertions(+)
Comments
Linux regression tracking (Thorsten Leemhuis)
Dec. 20, 2022, 6:24 a.m. UTC |
#1
Addressed
Unaddressed
Hi, this is your Linux kernel regression tracker. On 20.12.22 01:45, Matthias Kaehlcke wrote: > Some boards have device tree nodes for USB hubs supported by the > onboard_usb_hub driver, but the nodes don't have all properties > needed for the driver to work properly (which is not necessarily > an error in the DT). Currently _find_onboard_hub() returns > -EPROBE_DEFER in such cases, which results in an unusable USB hub, > since successive probes fail in the same way. Use the absence of > the "vdd" supply as an indicator of such 'incomplete' DT nodes > and return -ENODEV. > > Fixes: 8bc063641ceb ("usb: misc: Add onboard_usb_hub driver") > Reported-by: Stefan Wahren <stefan.wahren@i2se.com> > Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Many thx for taking care of this. There is one small thing to improve, please add the following tag here to make things easier for future code archaeologists: Link: https://lore.kernel.org/r/d04bcc45-3471-4417-b30b-5cf9880d785d@i2se.com/ Basically: every time you use "Reported-by:" use a "Link:" to the report. To explain: Linus[1] and others considered proper link tags important in cases like this, as they allow anyone to look into the backstory of a commit weeks or years later. That's nothing new, the documentation[2] for some time says to place tags in cases like this. I care personally (and made it a bit more explicit in the docs a while ago), because these tags make my regression tracking efforts a whole lot easier, as they allow my tracking bot 'regzbot' to automatically connect reports with patches posted or committed to fix tracked regressions. Apropos regzbot, let me tell regzbot to monitor this thread: #regzbot ^backmonitor: https://lore.kernel.org/r/d04bcc45-3471-4417-b30b-5cf9880d785d@i2se.com/ #regzbot fix: usb: misc: onboard_usb_hub: Don't defer probing for 'incomplete' DT nodes Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight. [1] for details, see: https://lore.kernel.org/all/CAHk-=wjMmSZzMJ3Xnskdg4+GGz=5p5p+GSYyFBTh0f-DgvdBWg@mail.gmail.com/ https://lore.kernel.org/all/CAHk-=wgs38ZrfPvy=nOwVkVzjpM3VFU1zobP37Fwd_h9iAD5JQ@mail.gmail.com/ https://lore.kernel.org/all/CAHk-=wjxzafG-=J8oT30s7upn4RhBs6TX-uVFZ5rME+L5_DoJA@mail.gmail.com/ [2] see Documentation/process/submitting-patches.rst (http://docs.kernel.org/process/submitting-patches.html) and Documentation/process/5.Posting.rst (https://docs.kernel.org/process/5.Posting.html)
On Tue, Dec 20, 2022 at 12:45:01AM +0000, Matthias Kaehlcke wrote: > Some boards have device tree nodes for USB hubs supported by the > onboard_usb_hub driver, but the nodes don't have all properties > needed for the driver to work properly (which is not necessarily > an error in the DT). Currently _find_onboard_hub() returns > -EPROBE_DEFER in such cases, which results in an unusable USB hub, > since successive probes fail in the same way. Use the absence of > the "vdd" supply as an indicator of such 'incomplete' DT nodes > and return -ENODEV. > > Fixes: 8bc063641ceb ("usb: misc: Add onboard_usb_hub driver") > Reported-by: Stefan Wahren <stefan.wahren@i2se.com> > Signed-off-by: Matthias Kaehlcke <mka@chromium.org> No cc: stable?
On Tue, Dec 20, 2022 at 12:45:01AM +0000, Matthias Kaehlcke wrote: > Some boards have device tree nodes for USB hubs supported by the > onboard_usb_hub driver, but the nodes don't have all properties > needed for the driver to work properly (which is not necessarily > an error in the DT). Currently _find_onboard_hub() returns > -EPROBE_DEFER in such cases, which results in an unusable USB hub, > since successive probes fail in the same way. Use the absence of > the "vdd" supply as an indicator of such 'incomplete' DT nodes > and return -ENODEV. > > Fixes: 8bc063641ceb ("usb: misc: Add onboard_usb_hub driver") > Reported-by: Stefan Wahren <stefan.wahren@i2se.com> > Signed-off-by: Matthias Kaehlcke <mka@chromium.org> > --- > > drivers/usb/misc/onboard_usb_hub.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c > index d63c63942af1..2968da515016 100644 > --- a/drivers/usb/misc/onboard_usb_hub.c > +++ b/drivers/usb/misc/onboard_usb_hub.c > @@ -363,6 +363,15 @@ static struct onboard_hub *_find_onboard_hub(struct device *dev) > hub = dev_get_drvdata(&pdev->dev); > put_device(&pdev->dev); > > + /* > + * Some boards have device tree nodes for USB hubs supported by this > + * driver, but the nodes don't have all properties needed for the driver > + * to work properly. Use the absence of the "vdd" supply as an indicator > + * of such nodes. > + */ > + if (!of_get_property(pdev->dev.of_node, "vdd", NULL)) > + return ERR_PTR(-ENODEV); Does this not break your original use case? Don't you want "vdd-supply" here? That said, this seems like the wrong property to look for both in principle and as it is described as optional by the binding: Documentation/devicetree/bindings/usb/realtek,rts5411.yaml It seems that you should use the compatible property and check that it holds one of the expected values: - usbbda,5411 - usbbda,411 rather than treat every hub node as describing a realtek hub (AFAIK, there is no generic binding for this yet). > + > /* > * The presence of drvdata ('hub') indicates that the platform driver > * finished probing. This handles the case where (conceivably) we could Johan
Hi Johan, On Tue, Dec 20, 2022 at 08:55:52AM +0100, Johan Hovold wrote: > On Tue, Dec 20, 2022 at 12:45:01AM +0000, Matthias Kaehlcke wrote: > > Some boards have device tree nodes for USB hubs supported by the > > onboard_usb_hub driver, but the nodes don't have all properties > > needed for the driver to work properly (which is not necessarily > > an error in the DT). Currently _find_onboard_hub() returns > > -EPROBE_DEFER in such cases, which results in an unusable USB hub, > > since successive probes fail in the same way. Use the absence of > > the "vdd" supply as an indicator of such 'incomplete' DT nodes > > and return -ENODEV. > > > > Fixes: 8bc063641ceb ("usb: misc: Add onboard_usb_hub driver") > > Reported-by: Stefan Wahren <stefan.wahren@i2se.com> > > Signed-off-by: Matthias Kaehlcke <mka@chromium.org> > > --- > > > > drivers/usb/misc/onboard_usb_hub.c | 9 +++++++++ > > 1 file changed, 9 insertions(+) > > > > diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c > > index d63c63942af1..2968da515016 100644 > > --- a/drivers/usb/misc/onboard_usb_hub.c > > +++ b/drivers/usb/misc/onboard_usb_hub.c > > @@ -363,6 +363,15 @@ static struct onboard_hub *_find_onboard_hub(struct device *dev) > > hub = dev_get_drvdata(&pdev->dev); > > put_device(&pdev->dev); > > > > + /* > > + * Some boards have device tree nodes for USB hubs supported by this > > + * driver, but the nodes don't have all properties needed for the driver > > + * to work properly. Use the absence of the "vdd" supply as an indicator > > + * of such nodes. > > + */ > > + if (!of_get_property(pdev->dev.of_node, "vdd", NULL)) > > + return ERR_PTR(-ENODEV); > > Does this not break your original use case? Don't you want "vdd-supply" > here? Ouch, yes it does (to a certain degree). Thanks for pointing it out. My sanity check didn't catch this because the platform driver still probes successfully and powers the hub on. > That said, this seems like the wrong property to look for both in > principle and as it is described as optional by the binding: > > Documentation/devicetree/bindings/usb/realtek,rts5411.yaml > > It seems that you should use the compatible property and check that it > holds one of the expected values: > > - usbbda,5411 > - usbbda,411 > > rather than treat every hub node as describing a realtek hub (AFAIK, > there is no generic binding for this yet). The driver only probes for specific hub models, among them the Microchip USB2514B hub with which Stefan encountered the regression [1]. My initial assumption when writing this driver was that the existence of a node for a supported hub means that the driver should be used. However the regression encountered by Stefan makes clear that this assumption is incorrect. It's not common, but a device tree may have nodes for onboard USB devices, among them hubs (which might become more common with this driver). Not in all instances the hub nodes were added with the intention of using this driver for power sequencing the hub (e.g. [2]). The compatible string alone doesn't indicate that the onboard_hub driver should be instantiated for a given hub, which is why I'm using the existence of "vdd-supply" as indicator. Thanks m. [1] https://lore.kernel.org/linux-usb/d04bcc45-3471-4417-b30b-5cf9880d785d@i2se.com/ [2] https://elixir.bootlin.com/linux/v6.1/source/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
On Tue, Dec 20, 2022 at 02:15:19PM +0000, Matthias Kaehlcke wrote: > Hi Johan, > > On Tue, Dec 20, 2022 at 08:55:52AM +0100, Johan Hovold wrote: > > On Tue, Dec 20, 2022 at 12:45:01AM +0000, Matthias Kaehlcke wrote: > > > Some boards have device tree nodes for USB hubs supported by the > > > onboard_usb_hub driver, but the nodes don't have all properties > > > needed for the driver to work properly (which is not necessarily > > > an error in the DT). Currently _find_onboard_hub() returns > > > -EPROBE_DEFER in such cases, which results in an unusable USB hub, > > > since successive probes fail in the same way. Use the absence of > > > the "vdd" supply as an indicator of such 'incomplete' DT nodes > > > and return -ENODEV. > > > > > > Fixes: 8bc063641ceb ("usb: misc: Add onboard_usb_hub driver") > > > Reported-by: Stefan Wahren <stefan.wahren@i2se.com> > > > Signed-off-by: Matthias Kaehlcke <mka@chromium.org> > > > --- > > > > > > drivers/usb/misc/onboard_usb_hub.c | 9 +++++++++ > > > 1 file changed, 9 insertions(+) > > > > > > diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c > > > index d63c63942af1..2968da515016 100644 > > > --- a/drivers/usb/misc/onboard_usb_hub.c > > > +++ b/drivers/usb/misc/onboard_usb_hub.c > > > @@ -363,6 +363,15 @@ static struct onboard_hub *_find_onboard_hub(struct device *dev) > > > hub = dev_get_drvdata(&pdev->dev); > > > put_device(&pdev->dev); > > > > > > + /* > > > + * Some boards have device tree nodes for USB hubs supported by this > > > + * driver, but the nodes don't have all properties needed for the driver > > > + * to work properly. Use the absence of the "vdd" supply as an indicator > > > + * of such nodes. > > > + */ > > > + if (!of_get_property(pdev->dev.of_node, "vdd", NULL)) > > > + return ERR_PTR(-ENODEV); > > > > Does this not break your original use case? Don't you want "vdd-supply" > > here? > > Ouch, yes it does (to a certain degree). Thanks for pointing it out. My > sanity check didn't catch this because the platform driver still probes > successfully and powers the hub on. > > > That said, this seems like the wrong property to look for both in > > principle and as it is described as optional by the binding: > > > > Documentation/devicetree/bindings/usb/realtek,rts5411.yaml > > > > It seems that you should use the compatible property and check that it > > holds one of the expected values: > > > > - usbbda,5411 > > - usbbda,411 > > > > rather than treat every hub node as describing a realtek hub (AFAIK, > > there is no generic binding for this yet). > > The driver only probes for specific hub models, among them the Microchip > USB2514B hub with which Stefan encountered the regression [1]. > > My initial assumption when writing this driver was that the existence of > a node for a supported hub means that the driver should be used. However > the regression encountered by Stefan makes clear that this assumption is > incorrect. It's not common, but a device tree may have nodes for onboard > USB devices, among them hubs (which might become more common with this > driver). Not in all instances the hub nodes were added with the intention > of using this driver for power sequencing the hub (e.g. [2]). Yeah, you can't assume that. The DT bindings for USB has been around since before your onboard-hub driver. > The > compatible string alone doesn't indicate that the onboard_hub driver > should be instantiated for a given hub, which is why I'm using the > existence of "vdd-supply" as indicator. I don't have time to review this in details, but checking for a specific supply like this just seems wrong (as other have since also pointed out in comments to your v2). There could be hubs which just need to deassert a reset pin for example, and some of the bindings do not even mandate a regulator as I mentioned above. Johan
diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c index d63c63942af1..2968da515016 100644 --- a/drivers/usb/misc/onboard_usb_hub.c +++ b/drivers/usb/misc/onboard_usb_hub.c @@ -363,6 +363,15 @@ static struct onboard_hub *_find_onboard_hub(struct device *dev) hub = dev_get_drvdata(&pdev->dev); put_device(&pdev->dev); + /* + * Some boards have device tree nodes for USB hubs supported by this + * driver, but the nodes don't have all properties needed for the driver + * to work properly. Use the absence of the "vdd" supply as an indicator + * of such nodes. + */ + if (!of_get_property(pdev->dev.of_node, "vdd", NULL)) + return ERR_PTR(-ENODEV); + /* * The presence of drvdata ('hub') indicates that the platform driver * finished probing. This handles the case where (conceivably) we could