Skip to content

Commit b194ae6

Browse files
KanjiMonstergregkh
authored andcommitted
mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation
[ Upstream commit 3620d67 ] After commit 5273cc6 ("mtd: spi-nor: core: Call spi_nor_post_sfdp_fixups() only when SFDP is defined") spi_nor_post_sfdp_fixups() isn't called anymore if no SFDP is detected. Update the documentation accordingly. Fixes: 5273cc6 ("mtd: spi-nor: core: Call spi_nor_post_sfdp_fixups() only when SFDP is defined") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Reviewed-by: Pratyush Yadav <pratyush@kernel.org> Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 301e85f commit b194ae6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/spi-nor/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ struct spi_nor_flash_parameter {
420420
* number of dummy cycles in read register ops.
421421
* @smpt_map_id: called after map ID in SMPT table has been determined for the
422422
* case the map ID is wrong and needs to be fixed.
423-
* @post_sfdp: called after SFDP has been parsed (is also called for SPI NORs
423+
* @post_sfdp: called after SFDP has been parsed (is not called for SPI NORs
424424
* that do not support RDSFDP). Typically used to tweak various
425425
* parameters that could not be extracted by other means (i.e.
426426
* when information provided by the SFDP/flash_info tables are

0 commit comments

Comments
 (0)