summaryrefslogtreecommitdiffstats
path: root/drivers/of/platform.c
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2017-03-31 13:44:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 17:51:48 +0200
commit9b66587ee259800d278e84af64755083ea09926b (patch)
tree2960693510937405469ac7d84d2992fb2f3be718 /drivers/of/platform.c
parent711d4547793176fa0773c9cdf7af838417f14ef9 (diff)
downloadlinux-9b66587ee259800d278e84af64755083ea09926b.tar.bz2
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/of/platform.c')
0 files changed, 0 insertions, 0 deletions