mtd: spinand: Remove useless write enable op
Change-Id: I5e4c953e1107c52bf4a40d397bd92617107b21f1 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
parent
fc656fc366
commit
02ed3e1202
|
|
@ -705,10 +705,6 @@ static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = spinand_write_enable_op(spinand);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return spinand_write_page(spinand, &req);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue