Message ID | 20230323132047.833737-1-ckeepax@opensource.cirrus.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2915741wrt; Thu, 23 Mar 2023 06:36:53 -0700 (PDT) X-Google-Smtp-Source: AK7set/a/EKpE7ORucIE3vZ+nUPtBvety7X7kOvr2gW2Gi2YCB9MjV4CH/984Gl/IdnL9rKNDcUT X-Received: by 2002:aa7:ce0c:0:b0:500:2e6c:3a27 with SMTP id d12-20020aa7ce0c000000b005002e6c3a27mr9639478edv.12.1679578613361; Thu, 23 Mar 2023 06:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679578613; cv=none; d=google.com; s=arc-20160816; b=V5+BbJ49OnEucW1e8iDY6kvykxAqrQOcb6Qcemc1VPXAEegWG7j+zDTuhB+UOcRVD+ SbktmOif3nvidDK9q6w8oLSq4PKfPTiFSXQMzf7kasJ09t48Ed/KlCKk1JkCB8iipF49 US8hkxSKEYmN0GvxKK2/ZAbbNzDTI6egDGx/k2S00t8w6xT+VgbHHyljiOkw9Xmol9OG DMEGv/rKx/FCKwBXOG/+C5Olq1KsQx+fz3xfcYIzPTfvuM72uYw7yvahqA6fYw0xOdBV wsXKDOpkMtYF2EXKYnGoa+LvHWBQs31TnJIOA9735v4wFZWkijygifB5EO2hXDEBKwh9 XO1Q== 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=ZnMugTZQBfuv7PKEx2U6bglozDQ+fPKidiJXoOKeApo=; b=I86ZtYUy/WUJeSjzNQd8goMIareAhQt0J+7nDX8yo0ovr7tbqwMEOG/I8FszWr4vcP PJszeITO5ixiaR2FVeTaA3hLjLOnTxHvAHv8BTafbmt/+XwxSjl+r0B15/9jzuwW2dnC WxXSZra61Du6pTNQ4LeAu0wEqE+iqYjyg5ip/ryweKBlkH6HTJCHkGQnE95nEUbjmeKJ EPBxXxS3dOt5L8iW3oW5KIkI9fYhQsxNA4idj3hilItcUCAkn+kKOcnOw4Nh5bnjtU/M bUxKdNEZBVOODh/utRQw+9tACFHIw9tbhpNol7YBAIhAV4vc484kQz6olQvXGpJapwYe 6b0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=LHfBuZH4; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm17-20020a170907949100b009332ef1fbc4si17340339ejc.593.2023.03.23.06.36.29; Thu, 23 Mar 2023 06:36:53 -0700 (PDT) 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=@cirrus.com header.s=PODMain02222019 header.b=LHfBuZH4; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231676AbjCWNVC (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Thu, 23 Mar 2023 09:21:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbjCWNVA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 23 Mar 2023 09:21:00 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8635021961 for <linux-kernel@vger.kernel.org>; Thu, 23 Mar 2023 06:20:58 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32NDCEcp026092; Thu, 23 Mar 2023 08:20:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=ZnMugTZQBfuv7PKEx2U6bglozDQ+fPKidiJXoOKeApo=; b=LHfBuZH43pyH39pJQhu7b4+Y0nTk9GQUve0h8PQlniAFkdmv2eyAonZFTnkdMwxAtw9H uEDaYxwqxQ7J7W8+lpLDR26PNYxT6M/XdhTHCvHEMakkReVT/0ZiJkHaWR+bHOoJGcJn XdFHJb1cl2ILHxJXWf4QVcZwargFtKXEjvVH4vOKv4Km+6vN4NYscz61bssgW1OqnisA qh1OIok/zvhmdpGxCcfHtVC+buuWmPH9QptAegXIOTVhRSVf77k0CbtOdoBxA8YBcUjj h9PJB2bLnX6/BvoowNxKg9fKL7EE2yTvzkVWQXoybSKPWWx4GyCwh6CWRH7riFwQ4eqP yw== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3pdaq36u26-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Mar 2023 08:20:54 -0500 Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Thu, 23 Mar 2023 08:20:47 -0500 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Thu, 23 Mar 2023 08:20:47 -0500 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 9629B45; Thu, 23 Mar 2023 13:20:47 +0000 (UTC) From: Charles Keepax <ckeepax@opensource.cirrus.com> To: <broonie@kernel.org> CC: <lgirdwood@gmail.com>, <dianders@chromium.org>, <patches@opensource.cirrus.com>, <linux-kernel@vger.kernel.org> Subject: [PATCH 1/2] regulator: arizona-ldo1: Use PROBE_FORCE_SYNCHRONOUS Date: Thu, 23 Mar 2023 13:20:46 +0000 Message-ID: <20230323132047.833737-1-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: hFDoQeorNtiJrS3Ufcv6zs3h-eLcbgFg X-Proofpoint-GUID: hFDoQeorNtiJrS3Ufcv6zs3h-eLcbgFg X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761165824014231248?= X-GMAIL-MSGID: =?utf-8?q?1761165824014231248?= |
Series |
[1/2] regulator: arizona-ldo1: Use PROBE_FORCE_SYNCHRONOUS
|
|
Commit Message
Charles Keepax
March 23, 2023, 1:20 p.m. UTC
Restore synchronous probing for Arizona regulators because otherwise
the main MFD driver will not find its core supplies.
As these regulators are built into the CODEC and typically have no DT
representation the regulator framework is unaware of their existence
until the driver probes. These means the probing of the driver needs to
be synchronous to ensure the regulators are not substitued for the dummy
later when the users request them.
Fixes: 259b93b21a9f ("regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
drivers/regulator/arizona-ldo1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Thu, 23 Mar 2023 13:20:46 +0000, Charles Keepax wrote: > Restore synchronous probing for Arizona regulators because otherwise > the main MFD driver will not find its core supplies. > > As these regulators are built into the CODEC and typically have no DT > representation the regulator framework is unaware of their existence > until the driver probes. These means the probing of the driver needs to > be synchronous to ensure the regulators are not substitued for the dummy > later when the users request them. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/2] regulator: arizona-ldo1: Use PROBE_FORCE_SYNCHRONOUS commit: 557de8d84ae4988b08339032d2f405ef5057e82b [2/2] regulator: arizona-micsupp: Use PROBE_FORCE_SYNCHRONOUS commit: b65a0a8edba2c0a03e8fdb03b6807132e4166483 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c index a53d8441702a4..b465c0010665a 100644 --- a/drivers/regulator/arizona-ldo1.c +++ b/drivers/regulator/arizona-ldo1.c @@ -380,7 +380,7 @@ static struct platform_driver arizona_ldo1_driver = { .remove = arizona_ldo1_remove, .driver = { .name = "arizona-ldo1", - .probe_type = PROBE_PREFER_ASYNCHRONOUS, + .probe_type = PROBE_FORCE_SYNCHRONOUS, }, }; @@ -389,7 +389,7 @@ static struct platform_driver madera_ldo1_driver = { .remove = arizona_ldo1_remove, .driver = { .name = "madera-ldo1", - .probe_type = PROBE_PREFER_ASYNCHRONOUS, + .probe_type = PROBE_FORCE_SYNCHRONOUS, }, };