commit | 5c4cee2fe8de7c14e60502b02e7c3bc7acba0530 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Mon Apr 21 16:53:03 2014 -0500 |
committer | Matt Porter <mporter@linaro.org> | Fri Apr 25 08:51:32 2014 -0400 |
tree | 5044f39984f5d40491ed46b58ac3adde978e5eb1 | |
parent | e80eef33f4596a247fdcf7d67d54d95d9dfaf7d3 [diff] |
ARM: bcm: err, don't BUG() on SMC init failures Several conditions in bcm_kona_smc_init() are handled with BUG_ON(). That function is capable of returning an error, so do that instead. Also, don't assume of_get_address() returns a valid pointer. Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Tim Kryger <tim.kryger@linaro.org> Reviewed-by: Markus Mayer <markus.mayer@linaro.org> Reviewed-by: Matt Porter <mporter@linaro.org> Signed-off-by: Matt Porter <mporter@linaro.org>