summaryrefslogtreecommitdiff
path: root/drivers/mtd/rfd_ftl.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2021-12-07 17:02:44 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2021-12-07 18:05:10 +0300
commit5273cc6df984967068f3acfcbe0def1562db5409 (patch)
treee807d0562f148f6ccdddd4c9923fee0969ad5ae2 /drivers/mtd/rfd_ftl.c
parentff67592cbdfc74c4237b2d02c4cb50a5eef56ff1 (diff)
downloadlinux-5273cc6df984967068f3acfcbe0def1562db5409.tar.xz
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/mtd/rfd_ftl.c')
0 files changed, 0 insertions, 0 deletions