
22 Oct
2015
22 Oct
'15
8:13 a.m.
Hello Vadzim,
On Tue, 20 Oct 2015 02:41:44 +0300, Vadzim Dambrouski pftbest@gmail.com wrote:
flash_lock call is inside a for cycle, so after the first iteration flash is locked and no more sectors can be erased.
Nitpick: the commit summary explains the problem well, but not the (admittedly) trivial solution; just add it:
flash_lock call is inside a for cycle, so after the first iteration flash is locked and no more sectors can be erased. Move flash_lock out of the loop.
Signed-off-by: Vadzim Dambrouski pftbest@gmail.com
Amicalement,
--
Albert.