mxs_ocotp: clear the error flag before initiating write operation

A previous operation may have set the error flag, which must be cleared
before a new write operation can be issued.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
1 file changed