diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2021-12-07 15:02:44 +0100 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2021-12-07 16:05:10 +0100 |
commit | 5273cc6df984967068f3acfcbe0def1562db5409 (patch) | |
tree | e807d0562f148f6ccdddd4c9923fee0969ad5ae2 /drivers/isdn | |
parent | mtd: spi-nor: Introduce spi_nor_set_mtd_info() (diff) | |
download | linux-5273cc6df984967068f3acfcbe0def1562db5409.tar.xz linux-5273cc6df984967068f3acfcbe0def1562db5409.zip |
mtd: spi-nor: core: Call spi_nor_post_sfdp_fixups() only when SFDP is defined
spi_nor_post_sfdp_fixups() was called even when there were no SFDP
tables defined. late_init() should be instead used for flashes that
do not define SFDP tables.
Use spi_nor_post_sfdp_fixups() just to fix SFDP data. post_sfdp()
hook is as of now used just by s28hs512t, mt35xu512aba, and both
support SFDP, there's no functional change with this patch.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20211207140254.87681-5-tudor.ambarus@microchip.com
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions