linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] eeprom: at25: fram: Fix chip range in comment
@ 2025-08-28 15:16 A. Sverdlin
  0 siblings, 0 replies; only message in thread
From: A. Sverdlin @ 2025-08-28 15:16 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alexander Sverdlin, Arnd Bergmann, Greg Kroah-Hartman,
	patrick.wicki, stable

From: Alexander Sverdlin <alexander.sverdlin@siemens.com>

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

Cc: stable@vger.kernel.org
Fixes: cf4d2ce1eded ("eeprom: at25: fram: Detect and support inside-out chip variants")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
---
 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 2d0492867054f..8d4938e5f213b 100644
--- a/drivers/misc/eeprom/at25.c
+++ b/drivers/misc/eeprom/at25.c
@@ -404,7 +404,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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-28 15:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-28 15:16 [PATCH] eeprom: at25: fram: Fix chip range in comment A. Sverdlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).