diff options
author | Richard Leitner <richard.leitner@skidata.com> | 2017-03-31 14:44:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:51:48 +0200 |
commit | 9b66587ee259800d278e84af64755083ea09926b (patch) | |
tree | 2960693510937405469ac7d84d2992fb2f3be718 /samples/configfs | |
parent | nvmem: octop: Add i.MX7D support (diff) | |
download | linux-9b66587ee259800d278e84af64755083ea09926b.tar.xz linux-9b66587ee259800d278e84af64755083ea09926b.zip |
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 <richard.leitner@skidata.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/configfs')
0 files changed, 0 insertions, 0 deletions