From patchwork Wed Apr 14 21:22:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bean Huo X-Patchwork-Id: 12203843 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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 696E4C43461 for ; Wed, 14 Apr 2021 21:22:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B63F600D1 for ; Wed, 14 Apr 2021 21:22:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232307AbhDNVXP (ORCPT ); Wed, 14 Apr 2021 17:23:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232036AbhDNVXO (ORCPT ); Wed, 14 Apr 2021 17:23:14 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6341FC061574; Wed, 14 Apr 2021 14:22:51 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id w3so33621928ejc.4; Wed, 14 Apr 2021 14:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=L8jfAogNeKCWWv1zaa7om4rEu/mAS7YNOdM/85EuRkA=; b=Ap2aOflASrspeVeXAvULF6WN1yH4NdL+eDp0qD/X2fuimESfwiAimvQhAwSHbi7szR uZCgSMI3repBxlgBe8x8Jf6AGffcXhlpHlR6mGheX/sbBoR0EsPS73u2Z/VDFnyWL4y3 UMGTi/U+66z2tDq8zv3g492xZguOi1bHkNnpIo9vDZnAxCvcmKADELdal1v/3gphTY8d jiD0iq5NGTlTAGpn31IRTyvu1y2+isNH6hcdy3yowH/0+tF/IwdA158xfmygpp2iHiSd GLgLltz1DD52TBcaiGVQfsRn14NI0pgX4P+dAJLIsI6rrDCg59rFqJ2obuD01II+X/7z syxg== 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:mime-version :content-transfer-encoding; bh=L8jfAogNeKCWWv1zaa7om4rEu/mAS7YNOdM/85EuRkA=; b=EFNL9dlQjQyuwgS3LLPHyFzrMtACYchP7PTgtXgvuDsJspj30lEkWLoRqIXz51TdGD fxRSCuzZdhQCZMLNRU5ZLyvMeiCX32+o8XqhX99DngJJprz2ZiZY0BZ24K29AohvgZ22 G4ykDqpgjil2yUMXSg68MFUOLrcuiHYUJfnlOoNoRm/c1tc3TpuEXK+s+diAWzJ/R9Ik Wm+paUOwho7EYeWnu6T467TpyuPGTP9jbI/dsTFmt+dTYyXULMsLCcvvf8QUn7wQXFOn 6F5F31DFujhCyMtlUByQ6g1vP3PaqOOKXGoOqNWBgjfHAixCIsmK1Ez46xiFh7n2bMfQ 9vNg== X-Gm-Message-State: AOAM533ppVUDmdweBq1jmCpkGNvlnSlWokKRoLcjdUzuckHG0iyTJ5ny ODcMwJX9BE1BQlxbUQgkLeviTKWdgrsifBIn X-Google-Smtp-Source: ABdhPJyhnIM/TVGVyeHj2rd2daFjwSwt0tqMcoJ49N04lvb8YO1MbOJ6zdT+H/+POTsRRX2cqVQI1w== X-Received: by 2002:a17:907:3f08:: with SMTP id hq8mr116060ejc.90.1618435370199; Wed, 14 Apr 2021 14:22:50 -0700 (PDT) Received: from localhost.localdomain (ip5f5bec5d.dynamic.kabel-deutschland.de. [95.91.236.93]) by smtp.gmail.com with ESMTPSA id t7sm586187edq.42.2021.04.14.14.22.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 14:22:49 -0700 (PDT) From: Bean Huo To: ulf.hansson@linaro.org, wsa+renesas@sang-engineering.com, adrian.hunter@intel.com, yoshihiro.shimoda.uh@renesas.com Cc: beanhuo@micron.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] Let sanitize not retry in case of timeout/failure Date: Wed, 14 Apr 2021 23:22:34 +0200 Message-Id: <20210414212236.346813-1-huobean@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Bean Huo Bean Huo (2): mmc: core: Add a retries parameter to __mmc_switch function mmc: core: Let sanitize not retry in case of timeout/failure drivers/mmc/core/mmc.c | 22 +++++++++++----------- drivers/mmc/core/mmc_ops.c | 11 ++++++----- drivers/mmc/core/mmc_ops.h | 2 +- 3 files changed, 18 insertions(+), 17 deletions(-)