Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp799538rbd; Fri, 23 Feb 2024 04:10:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWrS6X88/HDMpVz6NTvLDNIIDYe4rsVrIsvGR9L2wpMIVeapLR1xJ0fwerxb5d0IcfdCR9epWZBmrMm8/VsG4R8BrG7GehZRvjJaLj0Eg== X-Google-Smtp-Source: AGHT+IH+G4Ktno/WOCttILbOeBPuvKAyQD2cmPjYnpJ5qKAl12f/6THzRbGJ2l2yvaLuu/McBo9h X-Received: by 2002:ad4:5b8f:0:b0:68f:6df2:3b6f with SMTP id 15-20020ad45b8f000000b0068f6df23b6fmr2412789qvp.44.1708690253989; Fri, 23 Feb 2024 04:10:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708690253; cv=pass; d=google.com; s=arc-20160816; b=fST5sInU4Y0kFvAIEqLe5rd8Mje+V4Di6oaoDUDq0QrgSTWBj/7OsvmTK07T8fJ7Ip pBZ4HNCXV96N1pwcK3kkWMs5rjXLE4YXp/KjxFjNK0+NymFOyj5l8Hs3DIjSSBJTV6c0 2CsGmkCWuAjeUW5Sr70Ldx5aBNtIgW3jdaHRI5++/GuYWskBz9BbTwnYv4mPdXZJxJ0+ U4wKcuarvLn1p0GuUpfK9FUn47rZSb4Q7bbra7y1pc+hgJ4iLbpDyGk9YQp5k505hm8m bH4hMrYTqtrNJO2yzO5lneMXgkHBfZ9G6cMg9yUebtgTP/bSjm1/0HlGm5Bz+EU4Dfax G0uQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5cIO/4DZYxwmtgaksg7CXWrEYfKERkMqCwDlZwlTJZs=; fh=3z6Xr+TrJxfzKO4spr4hOjdB1GK3k97M/ZLDu+b2K64=; b=cO/gS462LpK6BE0tXEj4uWd/H5MtJUmQJxTaWMqnzFQsOMmywvWALQ0r/C1v+YCRN/ 4QqfR9LHY8W5ETGuy32m7FRbDbWBBYfvAzuMyMJTR89s0DjlQBbFsY2R6yKvmDVnV8ck 17SNWvXMMa6s20+lNdy9wgc+YZztWWRDm+Jv4LOudO+QMkaZtlvSRTiFGybO7L5xtrjD eebHFwoJmisx4bW3hDlQSZ8kqxZBBxEnzvmi4mZzCQoMC1rjg6Nr9DcoYBX5t0/iFhuS rXFfBuedsG0rK8TSYos7i2gIqru+yKwgYiq6nlp/1rTnESoGv1CjmQnSR3MXhauvnMFA w67w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h72n9H/E"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78278-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fw9-20020a056214238900b0068f2badba33si15188490qvb.560.2024.02.23.04.10.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 04:10:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h72n9H/E"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78278-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3C81A1C22D02 for ; Fri, 23 Feb 2024 12:10:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F51F7C0B9; Fri, 23 Feb 2024 12:10:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h72n9H/E" 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 8B71E7AE47; Fri, 23 Feb 2024 12:10:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690214; cv=none; b=nejg8Wu+I7iF0rE5oNDVzfzxG7qxI8+dWY+XkZ7mTdAgQr/tpQZUw3SO7kvfObyfVxzL7nUeA7OHEQe9/kZIRT+QV90WBmfgNAJfgh8tUXaTHm3kC2Ou7cWHxyJdJmHl6/0OPTh1MyvMD+wXtwUlL18LkWxAzqLWAzh7NmDOChs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690214; c=relaxed/simple; bh=4mfjeqsrT5LLWTfnZOi1uQqHARRbPNHPlL7bWNXA1qs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=P8+9BcaAI2kfdSOZukm1FIdbK8xvtQnlJXuIr0cYDxIxqBY/r1xja3Qj2DBoUklnLWb28tFRzdE91AZ2Wgoxu2cFUVzTF9GQk5S1p71Db87J2z1Oa28wFBK/qSAto8SX1kB1UK5zsDZdVqG7ZuDZgh08H+BiBhj+AMdETaVVpwE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h72n9H/E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B80DC433C7; Fri, 23 Feb 2024 12:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708690214; bh=4mfjeqsrT5LLWTfnZOi1uQqHARRbPNHPlL7bWNXA1qs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h72n9H/Ey6btg2YG3+/Lndvz6UL99KJBWHTd2DmoRO2yWH1/pu+jFKJsTzELXXwr9 vIacBhyEGk57aSoaG5rkePrkzJ8HlT6EbaoKn6IKXgGhBTEgUAgBUGhr9loLlZHJEp ZxTqExOuYNu/bJOFEen2Or5AE7hQ+yCu4H+zmNUAz3uefWv18K3hrjLl1ZuN00s8p5 K19x+3oTMDVW0ePSzIr3+a0r8iefy3Qh+FtcnlzmVqSWWznSrVA1Rw9nTICEOD/aBV JUuZlze6Xt3nUJzJdpMhuuzG1116zfi+uW9Z1vpbBqUi83BdreXLKp7K//DhXTLL1e UnGBCgRv5PJDQ== Date: Fri, 23 Feb 2024 17:40:10 +0530 From: Vinod Koul To: Johan Hovold Cc: Bjorn Andersson , Andrzej Hajda , Neil Armstrong , Robert Foss , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jonas Karlman , Laurent Pinchart , Jernej Skrabec , Konrad Dybcio , Kishon Vijay Abraham I , Dmitry Baryshkov , Rob Clark , Abhinav Kumar , Kuogee Hsieh , freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, stable@vger.kernel.org, Bjorn Andersson Subject: Re: [PATCH 6/6] phy: qcom-qmp-combo: fix type-c switch registration Message-ID: References: <20240217150228.5788-1-johan+linaro@kernel.org> <20240217150228.5788-7-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240217150228.5788-7-johan+linaro@kernel.org> On 17-02-24, 16:02, Johan Hovold wrote: > Due to a long-standing issue in driver core, drivers may not probe defer > after having registered child devices to avoid triggering a probe > deferral loop (see fbc35b45f9f6 ("Add documentation on meaning of > -EPROBE_DEFER")). > > Move registration of the typec switch to after looking up clocks and > other resources. > > Note that PHY creation can in theory also trigger a probe deferral when > a 'phy' supply is used. This does not seem to affect the QMP PHY driver > but the PHY subsystem should be reworked to address this (i.e. by > separating initialisation and registration of the PHY). Acked-by: Vinod Koul -- ~Vinod