[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5df3cb168d367719ae5c378029a90f6337d00e79.1736380252.git.quic_nguyenb@quicinc.com>
Date: Wed, 8 Jan 2025 15:55:09 -0800
From: "Bao D. Nguyen" <quic_nguyenb@...cinc.com>
To: <quic_cang@...cinc.com>, <bvanassche@....org>, <avri.altman@....com>,
<peter.wang@...iatek.com>, <manivannan.sadhasivam@...aro.org>,
<martin.petersen@...cle.com>
CC: <linux-scsi@...r.kernel.org>, <stable@...r.kernel.org>,
"Bao D. Nguyen"
<quic_nguyenb@...cinc.com>,
Bean Huo <beanhuo@...ron.com>, Daejun Park
<daejun7.park@...sung.com>,
Guenter Roeck <linux@...ck-us.net>,
open list
<linux-kernel@...r.kernel.org>
Subject: [PATCH v1 1/1] scsi: ufs: core: Fix the HIGH/LOW_TEMP Bit Definitions
According to the UFS Device Specification, the bUFSFeaturesSupport
defines the support for TOO_HIGH_TEMPERATURE as bit[4] and the
TOO_LOW_TEMPERATURE as bit[5]. Correct the code to match with
the UFS device specification definition.
Fixes: e88e2d322 ("scsi: ufs: core: Probe for temperature notification support")
Cc: stable@...r.kernel.org
Signed-off-by: Bao D. Nguyen <quic_nguyenb@...cinc.com>
---
include/ufs/ufs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/ufs/ufs.h b/include/ufs/ufs.h
index e594abe..f0c6111 100644
--- a/include/ufs/ufs.h
+++ b/include/ufs/ufs.h
@@ -386,8 +386,8 @@ enum {
/* Possible values for dExtendedUFSFeaturesSupport */
enum {
- UFS_DEV_LOW_TEMP_NOTIF = BIT(4),
- UFS_DEV_HIGH_TEMP_NOTIF = BIT(5),
+ UFS_DEV_HIGH_TEMP_NOTIF = BIT(4),
+ UFS_DEV_LOW_TEMP_NOTIF = BIT(5),
UFS_DEV_EXT_TEMP_NOTIF = BIT(6),
UFS_DEV_HPB_SUPPORT = BIT(7),
UFS_DEV_WRITE_BOOSTER_SUP = BIT(8),
--
2.7.4
Powered by blists - more mailing lists