Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation

After commit 5273cc6df984 ("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: 5273cc6df984 ("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>

authored by

Jonas Gorski and committed by
Pratyush Yadav (Google)
3620d67b 756564a5

+1 -1
+1 -1
drivers/mtd/spi-nor/core.h
··· 413 413 * number of dummy cycles in read register ops. 414 414 * @smpt_map_id: called after map ID in SMPT table has been determined for the 415 415 * case the map ID is wrong and needs to be fixed. 416 - * @post_sfdp: called after SFDP has been parsed (is also called for SPI NORs 416 + * @post_sfdp: called after SFDP has been parsed (is not called for SPI NORs 417 417 * that do not support RDSFDP). Typically used to tweak various 418 418 * parameters that could not be extracted by other means (i.e. 419 419 * when information provided by the SFDP/flash_info tables are