Home
last modified time | relevance | path

Searched hist:"7 d388551" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-spi-devices-spi-nor7d388551 Wed Aug 10 17:06:48 CDT 2022 Michael Walle <michael@walle.cc> mtd: spi-nor: hide jedec_id sysfs attribute if not present

Some non-jedec compliant flashes (like the Everspin flashes) don't have
an ID at all. Hide the attribute in this case.

Fixes: 36ac02286265 ("mtd: spi-nor: add initial sysfs support")
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Link: https://lore.kernel.org/r/20220810220654.1297699-2-michael@walle.cc
/openbmc/linux/drivers/mtd/spi-nor/
H A Dsysfs.c7d388551 Wed Aug 10 17:06:48 CDT 2022 Michael Walle <michael@walle.cc> mtd: spi-nor: hide jedec_id sysfs attribute if not present

Some non-jedec compliant flashes (like the Everspin flashes) don't have
an ID at all. Hide the attribute in this case.

Fixes: 36ac02286265 ("mtd: spi-nor: add initial sysfs support")
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Link: https://lore.kernel.org/r/20220810220654.1297699-2-michael@walle.cc