summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/emulex/benet/be_main.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-07-25 13:12:54 +0300
committerMark Brown <broonie@linaro.org>2014-07-25 19:00:05 +0100
commita72d2abbe5752f3a773c4d8b7b41ae41f617f772 (patch)
tree3eccc2468e314a6d084996be1fc12e2295945fa2 /drivers/net/ethernet/emulex/benet/be_main.c
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-a72d2abbe5752f3a773c4d8b7b41ae41f617f772.tar.gz
linux-a72d2abbe5752f3a773c4d8b7b41ae41f617f772.tar.bz2
linux-a72d2abbe5752f3a773c4d8b7b41ae41f617f772.zip
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
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
0 files changed, 0 insertions, 0 deletions