commit | 636fdbf88efe069f9951d1b7df8d3fd82060dc60 | [log] [tgz] |
---|---|---|
author | Christian Riesch <christian.riesch@omicron.at> | Tue Mar 31 23:29:22 2015 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed May 27 12:47:37 2015 -0700 |
tree | ae830b40f01d8c7ba0baad43b6b162e5ace4170b | |
parent | 4612c715a6ea6b3af2aee0163c0721375b2548d7 [diff] |
mtd: cfi_cmdset_0002: Initialize datum before calling map_word_load_partial In do_otp_write we must initialize the variable datum before calling map_word_load_partial. Otherwise the upper bits of datum may be undefined, which later causes problems in chip_good called by do_write_oneword. Signed-off-by: Christian Riesch <christian.riesch@omicron.at> Signed-off-by: Brian Norris <computersforpeace@gmail.com>