diff options
author | Bryan O'Donoghue <[email protected]> | 2019-06-26 11:27:29 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-06-26 20:26:46 +0800 |
commit | 0493c4792b4eb260441e57f52cc11a9ded48b5a7 (patch) | |
tree | cf595ad4ad59502cfb41a9fe8cb864e0034d9913 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c03bb448f04f8195f04fe6fb3b0fb4699b311ece (diff) |
nvmem: imx-ocotp: Ensure WAIT bits are preserved when setting timing
The i.MX6 and i.MX8 both have a bit-field spanning bits 27:22 called the
WAIT field.
The WAIT field according to the documentation for both parts "specifies
time interval between auto read and write access in one time program. It is
given in number of ipg_clk periods."
This patch ensures that the relevant field is read and written back to the
timing register.
Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
Signed-off-by: Bryan O'Donoghue <[email protected]>
Reviewed-by: Leonard Crestez <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions