Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp216257rdh; Wed, 25 Oct 2023 23:16:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4ANbPx+1jTCB18vSbaZHkca07xneZt7d0M2eWPnS75j0Gj4XeMTiXvDNRD3amSIcdZERl X-Received: by 2002:a25:d647:0:b0:d9a:45e7:c7f1 with SMTP id n68-20020a25d647000000b00d9a45e7c7f1mr2726515ybg.30.1698301008143; Wed, 25 Oct 2023 23:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698301008; cv=none; d=google.com; s=arc-20160816; b=AvNeSNbb07v/MZFaRLsNdnP/CQ/Bn0UKkdQCbmdzeUO/etNzz/KD7lqxwQTyORQAbk ymWt1wZDmAQfSBlcr7LVUoijsp/Jc0ktpLhoDwVhrqi+xTNRvA+vQaOleFghE9JyRkhn OSOqR61JrxGVdx52bqSHcp1wrBNInYXLhhv+JjyxPIvwLssyk/nt/Y+a7hn687/YrTz1 B3fhErtoNMzME+m/uHhdJwJYJ/lnsnznJl1Pvyniyau3Mk4Q7AtSiXC99LfQOKvSLu41 5qKG0N1zBzH2RM4NZW/MK1g/gtZDdDMtxRC9/aebcevG9Cqp8OQOK//rmFxjpR4xVZRE 9FRA== 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=LftDA9Y+XGl1ONXZCRa+9Wt1QWlpdij0YsK3eYAGaSc=; fh=6rMBuCdeApEsC0Fr6pDgJL1nfZmH+27r+UC2beMNFxA=; b=kn2pDtJvrehv8hTRL5YknLUQUYpaJLn6EMTBjE/CW9i9VV4kwtSGkrOeV3U2+vd+fB NkrgfraKx0IMcoD3Q6Wtdqasj18I8IkX2KVwdEE+LyT3ytKHnbb5mfxoJr3GqeXUJ9sI n2r4Am3Ksk30JGmigOVq7SvkH8sHQ1DlTN7FrUuHL95kBqHLAR+iv28U6vAoD9maf5qW iPReKp9yFll27rOu0Z8e54M1a4mRRiN0GrjswOKT52X/aorzIbcfYayOxv4C1wI8jY2Y /j/aRM/ZHJcdNjLGjh14Yh2NGacYX6cV2m7eR9sS92KY97ZAFKKbwH3WO65CrEdbFT5c Lpug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RuB+8Z2L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id h39-20020a25b1a7000000b00d800f128bc0si12923689ybj.619.2023.10.25.23.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 23:16:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RuB+8Z2L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0AAE7807B9A7; Wed, 25 Oct 2023 23:15:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233233AbjJZGPF (ORCPT + 99 others); Thu, 26 Oct 2023 02:15:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230478AbjJZGPF (ORCPT ); Thu, 26 Oct 2023 02:15:05 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F4051186; Wed, 25 Oct 2023 23:15:02 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39Q6F022075460; Thu, 26 Oct 2023 01:15:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1698300900; bh=LftDA9Y+XGl1ONXZCRa+9Wt1QWlpdij0YsK3eYAGaSc=; h=From:To:CC:Subject:Date; b=RuB+8Z2LEDXTj5njYbYMSrz9NKe/JkDT4gAPOqVWobuXyAjA8K0R3uJWbPYYCqqO8 2grBp5gQG29ka4RP8yWP4ZbOkf8e9tfl7IOtpgn7y9iPIB+0MafI3+Q82iLf1t9/Oo 0CPxq0bLfNoA8Bq1ciqPa+ABDDXhGveaEpFTmR+I= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39Q6F0jh030506 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Oct 2023 01:15:00 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 26 Oct 2023 01:15:00 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 26 Oct 2023 01:15:00 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39Q6ExsW104152; Thu, 26 Oct 2023 01:14:59 -0500 From: Nitin Yadav To: , CC: , Subject: [PATCH] mmc: sdhci_am654: fix start loop index for TAP value parsing Date: Thu, 26 Oct 2023 11:44:58 +0530 Message-ID: <20231026061458.1116276-1-n-yadav@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 25 Oct 2023 23:15:20 -0700 (PDT) ti,otap-del-sel-legacy/ti,itap-del-sel-legacy passed from DT are currently ignored for all SD/MMC and eMMC modes. Fix this by making start loop index to MMC_TIMING_LEGACY. Fixes: 8ee5fc0e0b3be ("mmc: sdhci_am654: Update OTAPDLY writes") Signed-off-by: Nitin Yadav --- drivers/mmc/host/sdhci_am654.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index 544aaaf5cb0f..aae9d255c6a1 100644 --- a/drivers/mmc/host/sdhci_am654.c +++ b/drivers/mmc/host/sdhci_am654.c @@ -606,7 +606,7 @@ static int sdhci_am654_get_otap_delay(struct sdhci_host *host, return 0; } - for (i = MMC_TIMING_MMC_HS; i <= MMC_TIMING_MMC_HS400; i++) { + for (i = MMC_TIMING_LEGACY; i <= MMC_TIMING_MMC_HS400; i++) { ret = device_property_read_u32(dev, td[i].otap_binding, &sdhci_am654->otap_del_sel[i]); -- 2.25.1