commit | fda915a4cf171f4ef3077adbc7bc1680a140b0d6 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Tue Sep 16 20:33:54 2014 +0200 |
committer | Marek Vasut <marex@denx.de> | Mon Oct 06 17:31:42 2014 +0200 |
tree | 7f29dcb98d2ee32eacfc2f02b396c9ad6d56c62d | |
parent | 54c96b18a22a6ee5d5a67c057ed5d3812ac16b39 [diff] |
fpga: altera: Make altera_validate return normal values Make the function return either 0 or -EINVAL, that is, normal expected error codes and success codes instead of true/false nonsense. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by: Pavel Machek <pavel@denx.de>