u-boot-brain/drivers/misc
Hector Palacios d8d160e420 mxs_ocotp: prevent error path from returning success
The code may goto 'fail' upon error with 'ret' variable set to an error
code, but this variable was being overwritten by a final preparation
function to restore the HCLK, so success was (in general) returned even
after an error was hit previously.

With this change, the function may now return success even if the final
preparation function fails, but it's probably enough to print a message
because (if successful) the real programming of the fuses has already
completed.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2014-12-01 10:19:41 +01:00
..
ali512x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cbmem_console.c stdio: Pass device pointer to stdio methods 2014-07-23 14:07:23 +01:00
cros_ec_i2c.c cros_ec: Clean up multiple EC protocol support 2014-03-17 20:05:47 -06:00
cros_ec_lpc.c x86: cros_ec: Update LPC driver for new cros_ec header 2014-10-22 21:50:32 -06:00
cros_ec_sandbox.c dm: sandbox: cros_ec: Move sandbox cros_ec to driver module 2014-10-22 10:36:53 -06:00
cros_ec_spi.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
cros_ec.c cros_ec: Fix uninitialised variable in cros_ec.c 2014-11-22 10:16:48 +01:00
ds4510.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
fsl_ifc.c driver/fsl_ifc: Add a function to finalize CS0 address binding 2014-04-22 17:58:47 -07:00
fsl_iim.c arm: mx5: Add fuse supply enable in fsl_iim 2014-01-03 15:44:06 +01:00
gpio_led.c gpio_led: add support for inverted polarity 2013-11-25 10:41:52 -05:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-arm into master 2014-04-04 11:35:30 +02:00
mc9sdz60.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_ocotp.c replace DIV_ROUND with DIV_ROUND_CLOSEST 2014-11-20 11:28:25 -05:00
mxs_ocotp.c mxs_ocotp: prevent error path from returning success 2014-12-01 10:19:41 +01:00
ns87308.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pdsp188x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
status_led.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
twl4030_led.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00