summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdconcat.c
diff options
context:
space:
mode:
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>2020-09-03 05:42:17 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-09-07 14:22:12 +0200
commitc1cf1d57d1492235309111ea6a900940213a9166 (patch)
treedf9d5992e51ca5c9d3bad0edc2f1db40f2febf4f /drivers/mtd/mtdconcat.c
parentmtd: mtdconcat: map through panic write handler (diff)
downloadlinux-c1cf1d57d1492235309111ea6a900940213a9166.tar.xz
linux-c1cf1d57d1492235309111ea6a900940213a9166.zip
mtd: mtdoops: Don't write panic data twice
If calling mtdoops_write, don't also schedule work to be done later. Although this appears to not be causing an issue, possibly because the scheduled work will never get done, it is confusing. Fixes: 016c1291ce70 ("mtd: mtdoops: do not use mtd->panic_write directly") Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200903034217.23079-1-mark.tomlinson@alliedtelesis.co.nz
Diffstat (limited to 'drivers/mtd/mtdconcat.c')
0 files changed, 0 insertions, 0 deletions