diff options
author | Richard Leitner <[email protected]> | 2017-03-31 13:44:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-04-08 17:51:48 +0200 |
commit | 9b66587ee259800d278e84af64755083ea09926b (patch) | |
tree | 2960693510937405469ac7d84d2992fb2f3be718 /lib/string_helpers.c | |
parent | 711d4547793176fa0773c9cdf7af838417f14ef9 (diff) |
nvmem: imx-ocotp: clear error bit after reading locked values
When reading a "read locked" value from the OCOTP controller on i.MX6
SoC's an error bit is set. This bit has to be cleared by software before
any new write, read or reload access can be issued.
Therefore clear it after we detect such an "locked read".
Signed-off-by: Richard Leitner <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions