aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2021-12-07 16:02:42 +0200
committerTudor Ambarus <tudor.ambarus@microchip.com>2021-12-07 17:05:10 +0200
commiteb726c322020b95bfc1fbf0e83d0fd41c2500e96 (patch)
treee166c359a1382ec77386f0cdce8a00d782681800 /tools/perf/scripts/python/export-to-postgresql.py
parentf656b419d41aabafb6b526abc3988dfbf2e5c1ba (diff)
downloadlinux-eb726c322020b95bfc1fbf0e83d0fd41c2500e96.tar.gz
linux-eb726c322020b95bfc1fbf0e83d0fd41c2500e96.tar.bz2
linux-eb726c322020b95bfc1fbf0e83d0fd41c2500e96.zip
mtd: spi-nor: core: Don't use mtd_info in the NOR's probe sequence of calls
Use NOR parameters in the probe's sequence of calls, thus nor->params->size instead of nor->mtd.size and let the mtd_info fields be used by the mtd calls (mtd->_erase, mtd->_read, mtd->_write). mtd_info fields should not be used during probe because we haven't registered mtd yet. It's safe to drop xilinx's setting of nor->mtd.size, now that we use nor->params->size in spi_nor_set_addr_width(). Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Michael Walle <michael@walle.cc> Reviewed-by: Pratyush Yadav <p.yadav@ti.com> Link: https://lore.kernel.org/r/20211207140254.87681-3-tudor.ambarus@microchip.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions