aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRoger Quadros <[email protected]>2017-03-30 10:37:50 +0300
committerBoris Brezillon <[email protected]>2017-04-25 14:18:40 +0200
commit2d283ede59869159f4bb84ae689258c5caffce54 (patch)
tree11555ffe46bfbf2b55d56b9e796ca1e028b86f9c /tools/perf/scripts/python/export-to-postgresql.py
parent038e8ad6eb720d0b362183f1c30470c1e0797e39 (diff)
mtd: nand: omap2: Fix partition creation via cmdline mtdparts
commit c9711ec5250b ("mtd: nand: omap: Clean up device tree support") caused the parent device name to be changed from "omap2-nand.0" to "<base address>.nand" (e.g. 30000000.nand on omap3 platforms). This caused mtd->name to be changed as well. This breaks partition creation via mtdparts passed by u-boot as it uses "omap2-nand.0" for the mtd-id. Fix this by explicitly setting the mtd->name to "omap2-nand.<CS number>" if it isn't already set by nand_set_flash_node(). CS number is the NAND controller instance ID. Fixes: c9711ec5250b ("mtd: nand: omap: Clean up device tree support") Cc: <[email protected]> # 4.7+ Reported-by: Leto Enrico <[email protected]> Reported-by: Adam Ford <[email protected]> Suggested-by: Boris Brezillon <[email protected]> Tested-by: Adam Ford <[email protected]> Signed-off-by: Roger Quadros <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions