Skip to content
Snippets Groups Projects
Commit ad5dd7ae authored by Hector Palacios's avatar Hector Palacios Committed by Stefano Babic
Browse files

mxs_ocotp: check for errors from the OTP controller after writing


The write operation may fail when trying to write to a locked area. In
this case the ERROR bit is set in the CTRL register. Check for that
condition and return an error.

Signed-off-by: default avatarHector Palacios <hector.palacios@digi.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent d8d160e4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment