Skip to content
Commit c6858779 authored by Takahiro Kuwano's avatar Takahiro Kuwano Committed by Miquel Raynal
Browse files

mtd: spinand: Remove write_enable_op() in markbad()



We don't have to call spinand_write_enable_op() in spinand_markbad() as
it is called in spinand_write_page().

Fixes: b645ad39 ("mtd: spinand: Do not erase the block before writing a bad block marker")
Signed-off-by: default avatarTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Reviewed-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 70a71f81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment