Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp974235rwb; Thu, 1 Dec 2022 10:36:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf7yAFpbeezgVqGgHQuXFbvCueSLSnBz3+lLnnOoqeXzvJ13kdgEsQEKlygWkzI/pBMefmre X-Received: by 2002:a17:902:f552:b0:186:b768:454d with SMTP id h18-20020a170902f55200b00186b768454dmr51089884plf.82.1669919793411; Thu, 01 Dec 2022 10:36:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669919793; cv=none; d=google.com; s=arc-20160816; b=ybJyr+qf8FPtr8A8IuDkZvmsF+iIFRz2glMyfefTqTvcxM4Pmud/OMsReIeJhLeqo0 QZIc8pOP5VQgtkPagZpTK39qHK20XL1LbJ5JUpQp3jWR9GAzaFn00VhdnON+p+4/zBr9 TLVk9BeAipmZdVjY/9nU1EvH7vvl++lqjm4n0u+idEXIspATLIcilV4M4+k2NDQHiObg CjxG/17l3W7wXqifyUzayhlVtduhtEDx9kssdESb1Hey8STQqxPPplY9UU/nwHrlfLGt eQHG/7UuTrrE+leUtLgKmLm5aryAoQXneLa2+vexhjOZVvUdUnitIeSvryz3Jklxdd7Q vLeg== 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=dxBfeAGPJSh5Y/5FKQg+M0y4cyLZHfyLwZKtosIJVD4=; b=a0gXNEvUtA1cPWUVN2sKwPmXDvxaPZI2i2zn9vxD6SRJuJcth+pAtGEQqF1tzudxex auIDJf0x1ehUediltNe/GoESS7PDzK5EaiTU386v01Pe3L4f7RObr1UW9B14BMhWhtMY MqLAsxrygpqQv38aeXNjD0RCPZAiDf3564HKYsr/sTtaL/KwFtQq6HjNwfZMphvP6Q5E jhzTu443dEliQ/20Vyi90RHVAmdKy+yCQHqOdcifbILZ4CpxhMKwLhVEcLgdELGviiU4 ec8ZWptKYZSOfvBMoJqDER3wc+Cbp4Vdx8fQGMpSFfulmrr+o8YRjMPpmXv4QDcyKhPX a5Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cVwgxrvy; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l190-20020a6388c7000000b004772bd1b7b6si5295596pgd.43.2022.12.01.10.36.22; Thu, 01 Dec 2022 10:36:33 -0800 (PST) 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=@linaro.org header.s=google header.b=cVwgxrvy; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230487AbiLARrY (ORCPT + 82 others); Thu, 1 Dec 2022 12:47:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbiLARqv (ORCPT ); Thu, 1 Dec 2022 12:46:51 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CF5CB71EE for ; Thu, 1 Dec 2022 09:45:38 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id 130so2545360pfu.8 for ; Thu, 01 Dec 2022 09:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=dxBfeAGPJSh5Y/5FKQg+M0y4cyLZHfyLwZKtosIJVD4=; b=cVwgxrvy/wOo/YjbpaKogtDcuRpXMD+mUA4GkYeUOI6ezInGYpeliOJhgIJry0ziLR 8y9LGTbBtBmeMdV/H8LCPq3vDwErrNqkT9rgREnBoj3DsUMM1DopJr76+l6mMKCBpxJu zmMZN4Bah9vgAJWZDusTqfvblRNVK4s8q3kahKW9bwfUHWxxlZm0ixfbpawBuguxhREf UfvY4NEIePA5J+Qi8PGi5o6eTWE3eJ3zuKPx6VPJaNQ76kUG2CBWQ5Qe/oD+9AtYmR/s FEgVg6l1SkCWtxOLanu3bXfrK0hyRTrvYJqivFlLYP92MKJNPayoF7ims3T9syyvtCTT NqDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=dxBfeAGPJSh5Y/5FKQg+M0y4cyLZHfyLwZKtosIJVD4=; b=jHrXykSuPXtzsPfbHGe+2Rdod1XkUeE8r5VtVkpjCneeVHQY+jmAEv7e9P8Z9ETeGg FBOTTX/p7xwGmubm9olkwhgAc9/ZUlc+Errqc4HCajno/dsXo0XKzCgGc+QKHgecBtpd GbT8V1JhIUmM/W1hOg/o7P039PZ813qMiT0FM7DXL2i53EPhKM5VnfRrGCjX6eXBPse7 UAD3W3pTv3QseMXm7hr4n4N2t0Mr4aeCyydn276QvxRdsmDuJUtXwxhwz2vkNusL6Aj3 pr5Ee6cQhg+NzcG9AnNp9ZmnTPiEVn+NBIfHabnScxCgp1hp93EY67mfLV5M7ZEVl3Qh LXLA== X-Gm-Message-State: ANoB5pktOw576RRlj40ROQIsGrKAHS14Cl6w9BwlnEZuzUWsn4P4E8G5 HdrbQYBLLObIbbpuCgax7MsP X-Received: by 2002:a05:6a00:f8a:b0:56c:2576:9d2a with SMTP id ct10-20020a056a000f8a00b0056c25769d2amr49815642pfb.60.1669916737965; Thu, 01 Dec 2022 09:45:37 -0800 (PST) Received: from localhost.localdomain ([220.158.159.39]) by smtp.gmail.com with ESMTPSA id p4-20020a170902780400b0016d9b101413sm3898743pll.200.2022.12.01.09.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 09:45:37 -0800 (PST) From: Manivannan Sadhasivam To: martin.petersen@oracle.com, jejb@linux.ibm.com, andersson@kernel.org, vkoul@kernel.org Cc: quic_cang@quicinc.com, quic_asutoshd@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, dmitry.baryshkov@linaro.org, ahalaney@redhat.com, abel.vesa@linaro.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, Manivannan Sadhasivam Subject: [PATCH v4 17/23] scsi: ufs: ufs-qcom: Fix the Qcom register name for offset 0xD0 Date: Thu, 1 Dec 2022 23:13:22 +0530 Message-Id: <20221201174328.870152-18-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221201174328.870152-1-manivannan.sadhasivam@linaro.org> References: <20221201174328.870152-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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 On newer UFS revisions, the register at offset 0xD0 is called, REG_UFS_PARAM0. Since the existing register, RETRY_TIMER_REG is not used anywhere, it is safe to use the new name. Reviewed-by: Andrew Halaney Signed-off-by: Manivannan Sadhasivam --- drivers/ufs/host/ufs-qcom.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ufs/host/ufs-qcom.h b/drivers/ufs/host/ufs-qcom.h index 9d96ac71b27f..7fe928b82753 100644 --- a/drivers/ufs/host/ufs-qcom.h +++ b/drivers/ufs/host/ufs-qcom.h @@ -33,7 +33,8 @@ enum { REG_UFS_TX_SYMBOL_CLK_NS_US = 0xC4, REG_UFS_LOCAL_PORT_ID_REG = 0xC8, REG_UFS_PA_ERR_CODE = 0xCC, - REG_UFS_RETRY_TIMER_REG = 0xD0, + /* On older UFS revisions, this register is called "RETRY_TIMER_REG" */ + REG_UFS_PARAM0 = 0xD0, REG_UFS_PA_LINK_STARTUP_TIMER = 0xD8, REG_UFS_CFG1 = 0xDC, REG_UFS_CFG2 = 0xE0, -- 2.25.1