From patchwork Thu Mar 16 19:54:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 70960 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp680130wrt; Thu, 16 Mar 2023 13:08:45 -0700 (PDT) X-Google-Smtp-Source: AK7set/ELtHzW4qkODvUhbAlE7LduRTlloITUeeFbFHOFI1CYgpGrgjAskqDla9MZXObyqSfJTv1 X-Received: by 2002:a17:902:fb10:b0:1a0:450d:a469 with SMTP id le16-20020a170902fb1000b001a0450da469mr3626048plb.65.1678997325275; Thu, 16 Mar 2023 13:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678997325; cv=none; d=google.com; s=arc-20160816; b=dMnRgSqR7s0UCKDnrDmD3DoHZIsh9uzoTciUgOZdLC69FPuOtt30zTRvwQd8htNSaq 27JNHLDkhcQiOhRqE05ln9sISJA+gfU0H3Aikp9+y93nUljU6LqoUJ37BIT5qJiS2zJQ ux9hF9Bv3DUo9vyw9E1ukV1vgc1sg67t16qs/q70Uh7YOAyPEkTaCetTfd64CzNidzOu wM5hFG4+JpAc8iRmvFZEO14yrobshcTgCQoWsYL2eqhe3OVZr35y7mS5F8YfVrb6d8Wx +Iwce3naOfE3SnarV7XTWxfmmOm9XJMo+6wTyy3bhUFZrNXVk1SZ5BEm74q98jisQZ5I cIlA== 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=XRgpdkOamLgCCdZ3PhPSjocowBQyfYKeht0LHhwDJpI=; b=OqyrJ7u+wtfLdja+QsXe50S78NdJfiTFtVCtr/0yNpcumqCoOkVbev1N2V/AoRoB6b i5EvuocizdGxSCLLi3hNlONoW52l69N8L84TC+OEaucdV/t16EsyVOM7yM6FCP9+KTVH tJkANuvE5p1UIWGEEr7yYNv+rhzL7VGq2YG3hCesXFHMrjoOrjjwKasPEzVD06/b2U96 HZntik1IAivGnw8KzYNsxRbqjLivV68jyqdWaBa60q9oms6SSizLNt2MkBclU+lhVotH VZ9PCh6z0PiRDUoH/JRN4esiYyY3tYK/1S58LcGhHVFxTfEpNL58ePOEL+ilYRUT4n8m miBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PdR0XSlv; 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 l11-20020a170903244b00b0019d20f880f2si311550pls.292.2023.03.16.13.08.07; Thu, 16 Mar 2023 13:08:45 -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=PdR0XSlv; 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 S230329AbjCPTzz (ORCPT + 99 others); Thu, 16 Mar 2023 15:55:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbjCPTze (ORCPT ); Thu, 16 Mar 2023 15:55:34 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5032BAD04 for ; Thu, 16 Mar 2023 12:55:27 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id y2so2776760pjg.3 for ; Thu, 16 Mar 2023 12:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1678996526; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XRgpdkOamLgCCdZ3PhPSjocowBQyfYKeht0LHhwDJpI=; b=PdR0XSlvTBn9kI6w59TW0AKBQOJ6vHplCBpgtXNeeia2o5HaTD4Q6s4zIG/rCF9GzA IDcXr8YpF599GfqXKu5RlM5Sr1ldLxm2qG0iCYQLIjs4F9uS5buXukPyz8Z0pWUZuHLi iUKhbrj1b4Y5AkihWmw2RiLUew45noOOYJupc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678996526; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XRgpdkOamLgCCdZ3PhPSjocowBQyfYKeht0LHhwDJpI=; b=ZPW/n6TfTSJufHOungGmaCxO4qv5+YioTr5TsEkJbwRtQIhAGGPsZwXKj9R1ouzjNu COLR1vtrl6ziAPyyOFEwxWBtWoE+T91lu+rJlT/zyxcMTqnSNNbQSHUCz1RclmanKdnP rA4Sz5YXUndhKufma8zuF/Y2zJZtuuRPZP8N90RmBf6ZuUCixLMf/ra+uPBYuchuTd44 khtTGtA/PDDD/04SO1rOwBXzr7Lc9oGA2p6noxf0ldpi06lUdF4vztD2Bw62H8+bYxdO lEilUCBu1o5hhh8N3p01sU/zkgD3uhEY6JxWAqblsAbvsF9LddDBcABXyAxWCl7PLhAe 2Q1w== X-Gm-Message-State: AO0yUKVIIIwLMGuhHnSneJYxXuXQPwcdvVsKl868TEFoRqvr0zYd0sxX Jrby9BPGGBrpXwcu5smQyjvBUQ== X-Received: by 2002:a05:6a20:4321:b0:cb:aacb:312c with SMTP id h33-20020a056a20432100b000cbaacb312cmr5473848pzk.27.1678996526468; Thu, 16 Mar 2023 12:55:26 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:4db6:6f23:6ad2:998d]) by smtp.gmail.com with ESMTPSA id c18-20020a62e812000000b006227c3d5e29sm110303pfi.16.2023.03.16.12.55.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 12:55:25 -0700 (PDT) From: Douglas Anderson To: Mark Brown Cc: mka@chromium.org, Liam Girdwood , Saravana Kannan , dmitry.torokhov@gmail.com, linux-kernel@vger.kernel.org, swboyd@chromium.org, briannorris@chromium.org, Douglas Anderson Subject: [PATCH 7/7] regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 6.1 Date: Thu, 16 Mar 2023 12:54:44 -0700 Message-Id: <20230316125351.7.I31771918f1d8dbe4bfb9f1fef7ff987f2b7504b5@changeid> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230316195444.3946980-1-dianders@chromium.org> References: <20230316195444.3946980-1-dianders@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760556299168006045?= X-GMAIL-MSGID: =?utf-8?q?1760556299168006045?= This follows on the change ("regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14") but changes regulators that were not present in kernel 6.1. Signed-off-by: Douglas Anderson --- drivers/regulator/max20411-regulator.c | 1 + drivers/regulator/mt6357-regulator.c | 1 + drivers/regulator/rt5739.c | 1 + drivers/regulator/rt6190-regulator.c | 1 + 4 files changed, 4 insertions(+) diff --git a/drivers/regulator/max20411-regulator.c b/drivers/regulator/max20411-regulator.c index 83dacb4ff173..be8169b86a89 100644 --- a/drivers/regulator/max20411-regulator.c +++ b/drivers/regulator/max20411-regulator.c @@ -153,6 +153,7 @@ MODULE_DEVICE_TABLE(i2c, max20411_id); static struct i2c_driver max20411_i2c_driver = { .driver = { .name = "max20411", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_max20411_match_tbl, }, .probe_new = max20411_probe, diff --git a/drivers/regulator/mt6357-regulator.c b/drivers/regulator/mt6357-regulator.c index b2352b96aed2..c0439a4e0b50 100644 --- a/drivers/regulator/mt6357-regulator.c +++ b/drivers/regulator/mt6357-regulator.c @@ -439,6 +439,7 @@ MODULE_DEVICE_TABLE(platform, mt6357_platform_ids); static struct platform_driver mt6357_regulator_driver = { .driver = { .name = "mt6357-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = mt6357_regulator_probe, .id_table = mt6357_platform_ids, diff --git a/drivers/regulator/rt5739.c b/drivers/regulator/rt5739.c index 0a9e1023d025..74fc5bf6d87e 100644 --- a/drivers/regulator/rt5739.c +++ b/drivers/regulator/rt5739.c @@ -279,6 +279,7 @@ MODULE_DEVICE_TABLE(of, rt5739_device_table); static struct i2c_driver rt5739_driver = { .driver = { .name = "rt5739", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = rt5739_device_table, }, .probe_new = rt5739_probe, diff --git a/drivers/regulator/rt6190-regulator.c b/drivers/regulator/rt6190-regulator.c index 995e028abdd7..ca91a1f6d3c8 100644 --- a/drivers/regulator/rt6190-regulator.c +++ b/drivers/regulator/rt6190-regulator.c @@ -483,6 +483,7 @@ MODULE_DEVICE_TABLE(of, rt6190_of_dev_table); static struct i2c_driver rt6190_driver = { .driver = { .name = "rt6190", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = rt6190_of_dev_table, .pm = pm_ptr(&rt6190_dev_pm), },