From: Peter Ujfalusi Date: Fri, 25 Jul 2014 10:12:54 +0000 (+0300) Subject: ASoC: tlv320aic31xx: Do not ignore errors in aic31xx_device_init() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a72d2abbe5752f3a773c4d8b7b41ae41f617f772;p=pandora-kernel.git 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 Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed