Skip to content
Commit 8a9485ff authored by Tokunori Ikegami's avatar Tokunori Ikegami Committed by Richard Weinberger
Browse files

mtd: cfi_cmdset_0002: Fix do_erase_chip() to get chip as erasing mode



The chip state is set to erasing by the function after getting chip.
So it should be to get chip as erasing mode at first.
But previously it was to get chip as writing mode then fix as erasing.

Signed-off-by: default avatarTokunori Ikegami <ikegami.t@gmail.com>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 137e92fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment