diff options
author | Richard Leitner <richard.leitner@skidata.com> | 2017-03-31 13:44:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:51:48 +0200 |
commit | 0642bac7da4240912c3e923a7d1c47af3dd89b9d (patch) | |
tree | a3ae1b6494a562da42de72d982809d08a2d3acbd /drivers/char/misc.c | |
parent | 9b66587ee259800d278e84af64755083ea09926b (diff) | |
download | linux-0642bac7da4240912c3e923a7d1c47af3dd89b9d.tar.bz2 |
nvmem: imx-ocotp: add write support
Implement write routine for OCOTP controller found in i.MX6 SoC's.
Furthermore add locking to the read function to prevent race conditions.
The write routine code is based on the fsl_otp driver from Freescale.
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/char/misc.c')
0 files changed, 0 insertions, 0 deletions