Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3678796rwj; Mon, 19 Dec 2022 23:50:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf7x/E0hsXHkGZyOf0gLB8i13lpOObSOJjlHFm0soFr0Nv7vZdzTL2g4kHNvzP9tfTrH0hPU X-Received: by 2002:a05:6a00:1711:b0:576:c2f0:d6a1 with SMTP id h17-20020a056a00171100b00576c2f0d6a1mr45258271pfc.8.1671522622089; Mon, 19 Dec 2022 23:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671522622; cv=none; d=google.com; s=arc-20160816; b=GEYo2wuml1c0WbRdGdAvUvZfUJiYtjtn77wB09ic10wdmlZC66ecMu6Q+zYmdB0AG5 cywO4RdKTbXhJdUkg7A4bFhoXNkMPUo5+3XYssuEVhBtd6YdNzf6vD7WIxLr89XlQjXm dmn++b6mvoBtvYB9oIlk9F9wzxiHrJEzjwl2JShiPyrn06a+s/2qoa0vsHtzYDEhMIGL JQLJh2xpyZkVsNdeo1pHkiNr0SNXBlU3e/Q9RNFS1pcGqmaMme92H5ygrp5DM5sIroR5 sQLTY/1hVF505GwzXXU/KCR+mTnAC7fIInVnUGBZWM2wm1QWTR1bEn9oJbmva5RXcw+h KHHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tJzHkMQ5XyMpFmglqmJYeKWZz+ufdNP2mn9/BQUvsXs=; b=h04uYkZ6i9SjMRqCYvkQK3S8fpvKSXa2Jkfr5cgg4aZaQw3fUBNups67J5d6RBd8a1 KGQMC18fqMCeIxzzc1bhuuKHPff4JQ94U2ogDbqQCZhPK4VRONYuW/eYeCLOjf4MZrmT nOe5D7kz3oaq728+7QN0aq5H1xOo845Zpfzu559BOVaUasAi2lZeKRF7s0NCqz8LpATl TzAZDwbnrq9CzccImusQT9fmvrBwEoE9WbfTQ7iz0qemfM2g8uKWt0SdznDFBhkQSPZi 1nOrj6uUG5Frpp+0wdo3OkxLPqiu/vmIhNhMJqxzoadSmIyt0uFPCfCELWAalmBR38l1 hA7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Y+FbG7jq; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cp6-20020a056a00348600b005726ac39d2esi12404090pfb.30.2022.12.19.23.50.13; Mon, 19 Dec 2022 23:50:22 -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=@linuxfoundation.org header.s=korg header.b=Y+FbG7jq; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233216AbiLTG6L (ORCPT + 70 others); Tue, 20 Dec 2022 01:58:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233116AbiLTG6H (ORCPT ); Tue, 20 Dec 2022 01:58:07 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 057C6140AC; Mon, 19 Dec 2022 22:58:07 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BD887B811A0; Tue, 20 Dec 2022 06:58:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F7C6C433D2; Tue, 20 Dec 2022 06:58:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1671519484; bh=hezfHxyVtEQckJyh4KpukNcGmjuAeZBzbORAHzBO+L0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y+FbG7jq2WiorMSGVEt1LOS6JezSbl1gvPuIFj8mIJR08aCmSTXlqguUyyRDLCXjE bIfbr+49tX9D9RzoKKPHVXO/svnFqyR9WEApoYrXym1zTbFBtcc7HZh91b42oZieVs OFfXQyvHBuDbBEBI/hOIsWV8ygYT6wqc0I8Rlv9A= Date: Tue, 20 Dec 2022 07:58:01 +0100 From: Greg Kroah-Hartman To: Matthias Kaehlcke Cc: Douglas Anderson , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Stefan Wahren , Ravi Chandra Sadineni Subject: Re: [PATCH] usb: misc: onboard_usb_hub: Don't defer probing for 'incomplete' DT nodes Message-ID: References: <20221220004427.1.If5e7ec83b1782e4dffa6ea759416a27326c8231d@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221220004427.1.If5e7ec83b1782e4dffa6ea759416a27326c8231d@changeid> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Signed-off-by: Matthias Kaehlcke No cc: stable?