]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
eeprom: at25: fram: Fix chip range in comment
authorAlexander Sverdlin <alexander.sverdlin@siemens.com>
Mon, 20 Oct 2025 14:58:47 +0000 (16:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Oct 2025 05:59:57 +0000 (07:59 +0200)
The first chip supported by the commented code is CY15B102QN, fix the
copy-paste error.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://patch.msgid.link/20251020145858.1598599-1-alexander.sverdlin@siemens.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/at25.c

index e2868f7bdb035dacf1bc034d72e0c535d167817c..883dfd0ed6583f49c8933d9863b512bcd1798420 100644 (file)
@@ -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: