diff options
author | Richard Leitner <richard.leitner@skidata.com> | 2017-03-31 13:44:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:51:48 +0200 |
commit | 9b66587ee259800d278e84af64755083ea09926b (patch) | |
tree | 2960693510937405469ac7d84d2992fb2f3be718 /drivers/iio/proximity | |
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 <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 'drivers/iio/proximity')
0 files changed, 0 insertions, 0 deletions