Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7605681rwl; Thu, 23 Mar 2023 06:36:48 -0700 (PDT) X-Google-Smtp-Source: AK7set8ZuAng68Ob2Zkb2GbpC7IIlPuglAbPUcWrOKEYnit8v+Z6pSj/QTViALFbcpZ5p/oIcD0i X-Received: by 2002:a17:906:90cc:b0:930:18f5:d016 with SMTP id v12-20020a17090690cc00b0093018f5d016mr11097982ejw.15.1679578607883; Thu, 23 Mar 2023 06:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679578607; cv=none; d=google.com; s=arc-20160816; b=JOzhBSbQBjptgvJmoRB3tl/9uxSWqVFqh6pah2w5DY0paBNMm7EByddCNE1AvYGnaT NtWR5kyxb+fQsTl5TadAPbOjUw/+eZi0fXmHQ8SzekabH3f95W7PtOgijx/At9l/MJtU XBJ6LprHGdOrW0qwNxorwfZxFZij1uO+9vCrTaWSBy53r5hwb8tYjvcOZL8RgAUhrkeB pVdoAU9OjNXc+06cjnPuDd8dgngOJZUbm7Y7eH4pxpsfMKj1YH/nOWj/cmMO5pE7mnso 3GDmVs6j+gmahCB3afFBi5cu3ZovC7s1LFrxN93RCsorwqNc/EI7G/+eT0El/AE187Jd P1jQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Rjr0/PkiGJgZ0ewLLrVUNFvNKSEl8YbvL/H2O3u1swk=; b=uhooBI3T18BA5FDlo3H21VAsOE9PDdW0TA48WAUNem/rljdnyMdEMHRjFwalgP/TSr CgzNWO3XBCp876SsE71eVYT286p/IdOJIMfm8hbzyPuDszAiVfcQZFdEPzwVBfqUJZiY On6M8bxxdbxHRycCw2GFy+FfORo4CBtrAQWK6OgDMp2tFn2iYx4zZLev+3M9eoFV7mpl 5jjO7hn2O92U2aO8J+5EfmB8VPzxjsSNckI/012u3eOkUe5P2xel9ut09JYunD39TDpz Nrz0rb44c30PWTt7vAP9Ns9ab0i+Qul4ARTb5fIy9N9YILdlnofxDOH0MP4VSXvL4vN+ rcBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=D3BeQPYt; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d2-20020a17090648c200b0093a15738c2bsi7099961ejt.25.2023.03.23.06.36.23; Thu, 23 Mar 2023 06:36:47 -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=D3BeQPYt; 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 S231627AbjCWNUz (ORCPT + 99 others); Thu, 23 Mar 2023 09:20:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbjCWNUy (ORCPT ); Thu, 23 Mar 2023 09:20:54 -0400 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 711F3211E1 for ; Thu, 23 Mar 2023 06:20:53 -0700 (PDT) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32N7a5UG009487; Thu, 23 Mar 2023 08:20:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=Rjr0/PkiGJgZ0ewLLrVUNFvNKSEl8YbvL/H2O3u1swk=; b=D3BeQPYtufLyE1I+/2iLxMJskYpV0HniquOUyq1CgsDOWnaIcCdbTfUlY77fOXVC4AQu 3vTztJxHu7VGlxzGOyAx/1FFs421XgLD1v3dtG6cVrbn/IkBoQvDxm9Yde2VSZRgtox4 lwL6fyF2RAS+KopwAS9EuWvz+YqpaxX74EwCXV7CKhj35uxKMPAI0zei9o0jntmGcRQk n2ddWUaBNntFnJAOwUe3AOuD4R14m4hnBbFv6/5rIZOstQXPTt2ybrUH7CYnpqSjtWmR 9EbwEWX3Z0sxaeMeHGGSs+3XakY7kCDtLFB34oL1ZiEs/S5sY7WiJNH/KgWQQd1DSC3y Hw== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3pf7tj4sr7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Mar 2023 08:20:49 -0500 Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex01.ad.cirrus.com (198.61.84.80) 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 anon-ediex02.ad.cirrus.com (198.61.84.81) 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 AD495B06; Thu, 23 Mar 2023 13:20:47 +0000 (UTC) From: Charles Keepax To: CC: , , , Subject: [PATCH 2/2] regulator: arizona-micsupp: Use PROBE_FORCE_SYNCHRONOUS Date: Thu, 23 Mar 2023 13:20:47 +0000 Message-ID: <20230323132047.833737-2-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230323132047.833737-1-ckeepax@opensource.cirrus.com> References: <20230323132047.833737-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: BJvf09bhuNAK9CRNnK36cllxOmraR5WT X-Proofpoint-GUID: BJvf09bhuNAK9CRNnK36cllxOmraR5WT 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: X-Mailing-List: linux-kernel@vger.kernel.org Restore synchronous probing for Arizona regulators as the main MFD relies on the ordering of the devices probing. 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 --- drivers/regulator/arizona-micsupp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index ffd8416487eb9..e250e5f3fcbcb 100644 --- a/drivers/regulator/arizona-micsupp.c +++ b/drivers/regulator/arizona-micsupp.c @@ -365,7 +365,7 @@ static struct platform_driver arizona_micsupp_driver = { .probe = arizona_micsupp_probe, .driver = { .name = "arizona-micsupp", - .probe_type = PROBE_PREFER_ASYNCHRONOUS, + .probe_type = PROBE_FORCE_SYNCHRONOUS, }, }; @@ -373,7 +373,7 @@ static struct platform_driver madera_micsupp_driver = { .probe = madera_micsupp_probe, .driver = { .name = "madera-micsupp", - .probe_type = PROBE_PREFER_ASYNCHRONOUS, + .probe_type = PROBE_FORCE_SYNCHRONOUS, }, }; -- 2.30.2