From patchwork Thu Sep 3 23:24:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 295395 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09049C433E2 for ; Thu, 3 Sep 2020 23:25:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C3DFA20797 for ; Thu, 3 Sep 2020 23:25:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Ceo30NPe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728107AbgICXZK (ORCPT ); Thu, 3 Sep 2020 19:25:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729306AbgICXZH (ORCPT ); Thu, 3 Sep 2020 19:25:07 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31F91C061245 for ; Thu, 3 Sep 2020 16:25:06 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id w186so3332420pgb.8 for ; Thu, 03 Sep 2020 16:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9D90+pAFL80PupYKppeDjSMb53d09AW9uWDmD+PNvZ8=; b=Ceo30NPe/3i/3NSMwH3W/JmqHwlMveG9Dbgn22rEsVDTvkKhjXSsLRfkwsSMLijOLe rhLbGd6zdxIchiLENz6Q6dG/9pQceKqjgdjQDtegsa+aq3vlF44HSYgSzzq7b6VWPmHY CVs5vzHFfIXNRjnsZrms8xwCwnp7nqiTY9q/I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9D90+pAFL80PupYKppeDjSMb53d09AW9uWDmD+PNvZ8=; b=gF6VlYgKxF8jlzmJpO9eT4+z1+2Xv08JEBr1GREdWFMJRZmIIwG09NnjiWn30mQepS bcASNFYgoL801iy/2rV0Cc4nXlmwDKbE2KBkvz0GEeYHkKLrv4QRrxPWuU8BM8CseJJW NoM61DTNX/Lo83O54nPvboeYsb08mvLvvd7Fgts4ypVk76cUdpR6nuWskus6r2+eP0g5 GOpz+IoAY6pREUj74dsQWvjOGETxreHCIb7Zr6V5tzxXSSeuElaPjrozfOMb4VHkdBnC 9fDw49IRD1hfrVacwBLcZr7E8E7PepfcljDxsVh/GkfafPAXGBWnz8Vl6gh80IE1H3E2 ieRA== X-Gm-Message-State: AOAM531nnEWEFG3peE0ZT9lk4q3peI8p0nXvn+fYCRoXYKEhCEAs/+Pf gExD+Si95CTpXbQhdOTOtGwTBg== X-Google-Smtp-Source: ABdhPJyotTnzJcV701e1rWtMf0V7HnsqMU8RXbPl7+Pw/P9r/85I6PHiwIVMdF+JrKzrzh3qyGgC5A== X-Received: by 2002:a17:902:be08:: with SMTP id r8mr3905651pls.103.1599175505475; Thu, 03 Sep 2020 16:25:05 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:42b0:34ff:fe3d:58e6]) by smtp.gmail.com with ESMTPSA id q7sm3614459pgg.10.2020.09.03.16.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 16:25:05 -0700 (PDT) From: Douglas Anderson To: Ulf Hansson Cc: swboyd@chromium.org, Douglas Anderson , Adrian Hunter , Al Cooper , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Subject: [PATCH 2/6] mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.9 Date: Thu, 3 Sep 2020 16:24:37 -0700 Message-Id: <20200903162412.2.I226782b43191ce367fa3bc1c907c29f571890412@changeid> X-Mailer: git-send-email 2.28.0.526.ge36021eeef-goog In-Reply-To: <20200903232441.2694866-1-dianders@chromium.org> References: <20200903232441.2694866-1-dianders@chromium.org> MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org This is like commit 3d3451124f3d ("mmc: sdhci-msm: Prefer asynchronous probe") but applied to a whole pile of drivers. This batch converts the drivers that appeared to be around in the v4.9 timeframe. Signed-off-by: Douglas Anderson --- drivers/mmc/host/sdhci-brcmstb.c | 1 + drivers/mmc/host/sdhci-pic32.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/mmc/host/sdhci-brcmstb.c b/drivers/mmc/host/sdhci-brcmstb.c index 876668827580..bbf3496f4495 100644 --- a/drivers/mmc/host/sdhci-brcmstb.c +++ b/drivers/mmc/host/sdhci-brcmstb.c @@ -326,6 +326,7 @@ MODULE_DEVICE_TABLE(of, sdhci_brcm_of_match); static struct platform_driver sdhci_brcmstb_driver = { .driver = { .name = "sdhci-brcmstb", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .pm = &sdhci_pltfm_pmops, .of_match_table = of_match_ptr(sdhci_brcm_of_match), }, diff --git a/drivers/mmc/host/sdhci-pic32.c b/drivers/mmc/host/sdhci-pic32.c index a11e6397d4ff..6ce1519ae177 100644 --- a/drivers/mmc/host/sdhci-pic32.c +++ b/drivers/mmc/host/sdhci-pic32.c @@ -241,6 +241,7 @@ MODULE_DEVICE_TABLE(of, pic32_sdhci_id_table); static struct platform_driver pic32_sdhci_driver = { .driver = { .name = "pic32-sdhci", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(pic32_sdhci_id_table), }, .probe = pic32_sdhci_probe,