[PATCH v2] eeprom: at25: fram: Fix chip range in comment

A. Sverdlin posted 1 patch 1 month, 3 weeks ago
drivers/misc/eeprom/at25.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] eeprom: at25: fram: Fix chip range in comment
Posted by A. Sverdlin 1 month, 3 weeks ago
From: Alexander Sverdlin <alexander.sverdlin@siemens.com>

The first chip supported by the commented code is CY15B102QN, fix the
copy-paste error.

Fixes: cf4d2ce1eded ("eeprom: at25: fram: Detect and support inside-out chip variants")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
---
Changelog:
v2:
- dropped "Cc: stable" tag
- rebased onto v6.18-rc1

 drivers/misc/eeprom/at25.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c
index e2868f7bdb035..883dfd0ed6583 100644
--- a/drivers/misc/eeprom/at25.c
+++ b/drivers/misc/eeprom/at25.c
@@ -408,7 +408,7 @@ static int at25_fram_to_chip(struct device *dev, struct spi_eeprom *chip)
 			chip->byte_len = BIT(id[7] - 0x21 + 4) * 1024;
 			break;
 		case 0x2a ... 0x30:
-			/* CY15B116QN ... CY15B116QN */
+			/* CY15B102QN ... CY15B116QN */
 			chip->byte_len = BIT(((id[7] >> 1) & 0xf) + 13);
 			break;
 		default:
-- 
2.51.0