diff options
author | Christian Riesch <christian.riesch@omicron.at> | 2015-03-31 23:29:22 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-05-27 21:47:37 +0200 |
commit | 636fdbf88efe069f9951d1b7df8d3fd82060dc60 (patch) | |
tree | ae830b40f01d8c7ba0baad43b6b162e5ace4170b /drivers/mtd/chips/Kconfig | |
parent | mtd: cfi: deinline large functions (diff) | |
download | linux-636fdbf88efe069f9951d1b7df8d3fd82060dc60.tar.xz linux-636fdbf88efe069f9951d1b7df8d3fd82060dc60.zip |
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>
Diffstat (limited to 'drivers/mtd/chips/Kconfig')
0 files changed, 0 insertions, 0 deletions