From 636fdbf88efe069f9951d1b7df8d3fd82060dc60 Mon Sep 17 00:00:00 2001 From: Christian Riesch Date: Tue, 31 Mar 2015 23:29:22 +0200 Subject: [PATCH] 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 Signed-off-by: Brian Norris --- Reading git-format-patch failed