* [PATCH] mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation
@ 2025-12-18 9:54 Jonas Gorski
2025-12-22 15:41 ` Pratyush Yadav
2026-03-13 10:49 ` Pratyush Yadav
0 siblings, 2 replies; 3+ messages in thread
From: Jonas Gorski @ 2025-12-18 9:54 UTC (permalink / raw)
To: Tudor Ambarus, Pratyush Yadav, Michael Walle, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra
Cc: Pratyush Yadav, linux-mtd, linux-kernel
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>
---
drivers/mtd/spi-nor/core.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi-nor/core.h b/drivers/mtd/spi-nor/core.h
index 16b382d4f04f..e838c40a2589 100644
--- a/drivers/mtd/spi-nor/core.h
+++ b/drivers/mtd/spi-nor/core.h
@@ -413,7 +413,7 @@ struct spi_nor_flash_parameter {
* number of dummy cycles in read register ops.
* @smpt_map_id: called after map ID in SMPT table has been determined for the
* case the map ID is wrong and needs to be fixed.
- * @post_sfdp: called after SFDP has been parsed (is also called for SPI NORs
+ * @post_sfdp: called after SFDP has been parsed (is not called for SPI NORs
* that do not support RDSFDP). Typically used to tweak various
* parameters that could not be extracted by other means (i.e.
* when information provided by the SFDP/flash_info tables are
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation
2025-12-18 9:54 [PATCH] mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation Jonas Gorski
@ 2025-12-22 15:41 ` Pratyush Yadav
2026-03-13 10:49 ` Pratyush Yadav
1 sibling, 0 replies; 3+ messages in thread
From: Pratyush Yadav @ 2025-12-22 15:41 UTC (permalink / raw)
To: Jonas Gorski
Cc: Tudor Ambarus, Pratyush Yadav, Michael Walle, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Pratyush Yadav,
linux-mtd, linux-kernel
On Thu, Dec 18 2025, Jonas Gorski wrote:
> 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>
Thanks!
[...]
--
Regards,
Pratyush Yadav
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation
2025-12-18 9:54 [PATCH] mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation Jonas Gorski
2025-12-22 15:41 ` Pratyush Yadav
@ 2026-03-13 10:49 ` Pratyush Yadav
1 sibling, 0 replies; 3+ messages in thread
From: Pratyush Yadav @ 2026-03-13 10:49 UTC (permalink / raw)
To: Jonas Gorski
Cc: Tudor Ambarus, Pratyush Yadav, Michael Walle, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, Pratyush Yadav,
linux-mtd, linux-kernel
On Thu, Dec 18 2025, Jonas Gorski wrote:
> 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>
Applied to spi-nor/next. Thanks!
[...]
--
Regards,
Pratyush Yadav
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-13 10:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-18 9:54 [PATCH] mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation Jonas Gorski
2025-12-22 15:41 ` Pratyush Yadav
2026-03-13 10:49 ` Pratyush Yadav
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox