commit | 5c12d20145ce30f9f8b7415d36dace5fb4dcc4f0 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Nov 24 15:20:48 2010 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Nov 24 11:22:45 2010 +0000 |
tree | 9de3796c10539e7591e898e95a720d66cdf7d24c | |
parent | 2f7dceeda4708f470fd927adb3861bd8ebbe2310 [diff] |
ASoC: Return proper error for omap3pandora_soc_init Return PTR_ERR(omap3pandora_dac_reg) instead of 0 if regulator_get failed. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>