projects
/
karo-tx-uboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e62c0b
)
arm: mxs: ocotp: disable OCOTP clock after access is finished
author
Lothar Waßmann
<LW@KARO-electronics.de>
Mon, 12 Oct 2015 12:04:28 +0000
(14:04 +0200)
committer
Lothar Waßmann
<LW@KARO-electronics.de>
Mon, 12 Oct 2015 12:04:28 +0000
(14:04 +0200)
drivers/misc/mxc_ocotp.c
patch
|
blob
|
history
diff --git
a/drivers/misc/mxc_ocotp.c
b/drivers/misc/mxc_ocotp.c
index
5fb86ca
..
4f222e6
100644
(file)
--- a/
drivers/misc/mxc_ocotp.c
+++ b/
drivers/misc/mxc_ocotp.c
@@
-80,6
+80,7
@@
static int finish_access(struct ocotp_regs *regs, const char *caller)
err = !!(readl(®s->ctrl) & BM_CTRL_ERROR);
clear_error(regs);
+ enable_ocotp_clk(0);
if (err) {
printf("mxc_ocotp %s(): Access protect error\n", caller);