commit | a72d2abbe5752f3a773c4d8b7b41ae41f617f772 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Fri Jul 25 13:12:54 2014 +0300 |
committer | Mark Brown <broonie@linaro.org> | Fri Jul 25 19:00:05 2014 +0100 |
tree | 3eccc2468e314a6d084996be1fc12e2295945fa2 | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f [diff] |
ASoC: tlv320aic31xx: Do not ignore errors in aic31xx_device_init() We need to return the error codes from aic31xx_device_init() and return from the i2c_probe with the error code. We will have kernel panic (NULL pointer dereference) in regulator_register_notifier() in case the devm_regulator_bulk_get() fails (with -EPROBE_DEFER for example). Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org