From patchwork Fri Mar 24 13:34:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 74543 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp630647vqo; Fri, 24 Mar 2023 06:36:19 -0700 (PDT) X-Google-Smtp-Source: AKy350btVykJ/1H7t+CmmR6kzd8u+dvevOfYT/g0lRPVodXeN+nSAc9f4Qa5sZLEu8XiTZm1y6Xy X-Received: by 2002:a17:903:283:b0:19f:e9e7:4cb with SMTP id j3-20020a170903028300b0019fe9e704cbmr3269651plr.45.1679664979393; Fri, 24 Mar 2023 06:36:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679664979; cv=none; d=google.com; s=arc-20160816; b=Zk4PFgXHHN8sQGEjyyn2ZiPI8fCAiCvtiUfTf7KIqE/I5fDumfrZ+j6YNirqFk+lsV uKRb2MFBDqpLLflDXnCSHwzyEBnzewD/P/3osporkcO4ByXtgHzaVLKWPcAwaxuj0688 4z9o/WIiG6NaI4cP21+XY0C7+aGuRnyRFTBYP9Ni16Z4xFcMS+p89+fb5toMLUfgJqXq hEFDD6K8jhIWTC03vrFbICZDEuMgSOF8NZLLjCRqBzUGpuw10alH9hOrUtRzdfZfvMW3 7n4HOYwDUP9Mxs6Agpv3F8jHQdHIChVMazdC8m+QGK9LB8QWpfyChf/lfJg+LKiVoMSy rc0g== 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=3CRcwQcMX+LHn6yf6pY6I2ai/14Nn7fDLUto6EdhoD8=; b=hfEG/N2LPwb03NGKAtSN3Dl7Z7WrPM3XbxRdcVJF2evvazOV8T3egkSnWqEb53Wl9R xFnTHvMPjRqH2SsJh9L6bP7E94smTBf4uacma0SpaemZa3yJWSrmqak20pXDmcCjmddc iupFci4mSrwsuI1ocXjsBF9jfSVx0SBWTb6Hrpb///6+IXIizdcNZZhPix/pPE6Lhxc/ /nbsnoY7I4mOCBWVq/lX19h7fotA0xt294XL+NJi+esikA3baI9reB5JRMGsRXL1gNph msbVGyQS9Oxrf3Bd8d83L34KdeW5EsnRXC3YCR1zbXC/mAvm0QLXyp12HrqnTm9dB0qK SMBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=CWiprUSZ; 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 d13-20020a63ed0d000000b00502ec718ab8si20420746pgi.284.2023.03.24.06.36.06; Fri, 24 Mar 2023 06:36:19 -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=@chromium.org header.s=google header.b=CWiprUSZ; 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 S231904AbjCXNe5 (ORCPT + 99 others); Fri, 24 Mar 2023 09:34:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231901AbjCXNew (ORCPT ); Fri, 24 Mar 2023 09:34:52 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3102918B07 for ; Fri, 24 Mar 2023 06:34:35 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id r7-20020a17090b050700b002404be7920aso1034505pjz.5 for ; Fri, 24 Mar 2023 06:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679664874; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3CRcwQcMX+LHn6yf6pY6I2ai/14Nn7fDLUto6EdhoD8=; b=CWiprUSZQrlq2pQoacmaIxBaSHOD4N+V33lcMtL5utNbJ1J8+IfWExN5DpwHBP4HAG AJQgZrSpJ5o0gdIEWQQunZKt+PKWBkRZnC2oNg6+Vnp6M6eGsAXd/1iRd92fRnbsalGI cZU73ze4FR/IqUwE2tU5W+KR7PPM5OvDDuICo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679664874; 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=3CRcwQcMX+LHn6yf6pY6I2ai/14Nn7fDLUto6EdhoD8=; b=KUesznJwaNo0VNn8+RVNRV73G7A7iZ6N6pMyDbKq/PEAaOmMULtrYFMWAyNAO1xtsC z2s7tYmzzHUhFEeHSwq11N6rlz9CNOvUipKDHcqyjMRxcevAJe1EAcGcXTQI1R9sQaPH SRPcVwmAaNJ/J+Qm1uxS/Y+nBmBC/syDreJQjalECpe3nW8tvyAAYCK8DsmclVkUzooV Rw9lO1Ghas2Xy9xet8eS23hi6xI28YDFOEgZBGrRFD4+qx/O8sXDGcueRBFMymmnsRYl Fx4ufuaIWvb/g0iEwVT961BiSu2AMSdxsalJ7+BL1b7IKXhJLhbm5WhpoqzQ0heDLvFK BFpA== X-Gm-Message-State: AAQBX9ddgWmTJv0Wo5SrFW94jmsmHyuBxqljE8Jf0vEASeHlveE2pcdO qUHcKI/4nPHszTiRmkOaU0bCFA== X-Received: by 2002:a17:90a:b10f:b0:23f:e4b7:afb3 with SMTP id z15-20020a17090ab10f00b0023fe4b7afb3mr3022545pjq.9.1679664874686; Fri, 24 Mar 2023 06:34:34 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:16d3:ef20:206a:6521]) by smtp.gmail.com with ESMTPSA id y2-20020a17090a474200b0023377b98c7csm2916312pjg.38.2023.03.24.06.34.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 06:34:34 -0700 (PDT) From: Douglas Anderson To: Mark Brown Cc: Douglas Anderson , Marek Szyprowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] regulator: qcom-rpmh: Revert "regulator: qcom-rpmh: Use PROBE_FORCE_SYNCHRONOUS" Date: Fri, 24 Mar 2023 06:34:06 -0700 Message-Id: <20230324063357.1.Ifdf3625a3c5c9467bd87bfcdf726c884ad220a35@changeid> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761256385204660143?= X-GMAIL-MSGID: =?utf-8?q?1761256385204660143?= This reverts commit 58973046c1bf ("regulator: qcom-rpmh: Use PROBE_FORCE_SYNCHRONOUS"). Further digging into the problems that prompted the us to switch to synchronous probe showed that the root cause was a missing "rootwait" in the kernel command line arguments. Let's reinstate asynchronous probe. Fixes: 58973046c1bf ("regulator: qcom-rpmh: Use PROBE_FORCE_SYNCHRONOUS") Cc: Marek Szyprowski Signed-off-by: Douglas Anderson Reviewed-by: Andrew Halaney --- drivers/regulator/qcom-rpmh-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 903032b2875f..4826d60e5d95 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -1462,7 +1462,7 @@ MODULE_DEVICE_TABLE(of, rpmh_regulator_match_table); static struct platform_driver rpmh_regulator_driver = { .driver = { .name = "qcom-rpmh-regulator", - .probe_type = PROBE_FORCE_SYNCHRONOUS, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(rpmh_regulator_match_table), }, .probe = rpmh_regulator_probe,