commit | d18c1a3841b24175f5b5dcc85c2e417dbea3659e | [log] [tgz] |
---|---|---|
author | Stephen McGruer <smcgruer@google.com> | Tue Aug 05 16:21:31 2014 -0400 |
committer | Stephen McGruer <smcgruer@google.com> | Mon Aug 11 08:07:54 2014 -0400 |
tree | 82e1e38bf14ded9a28ab68f3c40453f4a81055d9 | |
parent | 481a8f6f40fd5c2e506f09ae03e3ca29abaf2993 [diff] |
Fix incorrect printf in otp_write(..) Change-Id: Ic43988acf56a97ac677cf7dccac026938f6c983f
diff --git a/drivers/otp/c2k_otp.c b/drivers/otp/c2k_otp.c index 0ac1a3f..8dd2eed 100644 --- a/drivers/otp/c2k_otp.c +++ b/drivers/otp/c2k_otp.c
@@ -139,7 +139,7 @@ } if(read_data != prog_data[i]) { printf("Warning : failed to write OTP value at bit %d (%d attempts) !\n", - offset + i, NP2); + offset + i, NP1 + NP2); /* Not returrning Error here for debug */ } }