aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorAntony Pavlov <[email protected]>2011-02-11 13:00:37 +0300
committerDavid Woodhouse <[email protected]>2011-03-11 12:05:54 +0000
commitceabebb2bd2672f709e4454e16bc6042732e2dfe (patch)
treefbd883b13d5b3a01a0fa17b399252f4b6aa8e68f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentefba2e313ea1b1bd69a7c4659263becf43bb1adc (diff)
mtd: jedec_probe: initialise make sector erase command variable
In the commit 08968041bef437ec363623cd3218c2b083537ada (mtd: cfi_cmdset_0002: make sector erase command variable) introdused a field sector_erase_cmd. In the same commit initialisation of cfi->sector_erase_cmd made in cfi_chip_setup() (file drivers/mtd/chips/cfi_probe.c), so the CFI chip has no problem: ... cfi->cfi_mode = CFI_MODE_CFI; cfi->sector_erase_cmd = CMD(0x30); ... But for the JEDEC chips this initialisation is not carried out, so the JEDEC chips have sector_erase_cmd == 0. This patch adds the missing initialisation. Signed-off-by: Antony Pavlov <[email protected]> Acked-by: Guillaume LECERF <[email protected]> Signed-off-by: David Woodhouse <[email protected]> CC: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions