ASoC: tas2552: Return proper error for probe error paths
authorAxel Lin <axel.lin@ingics.com>
Wed, 23 Jul 2014 08:42:21 +0000 (16:42 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 25 Jul 2014 17:53:52 +0000 (18:53 +0100)
commitc62f9d8f7fcefe87e362b75c1c6a4333fc1019ac
tree3571cc82fb4ec58bb8d25e3b2709b4046572786b
parente295a4a43e90d46d3b16374dc908533bb40a3936
ASoC: tas2552: Return proper error for probe error paths

Return error if devm_regulator_bulk_get() or snd_soc_register_codec() fails.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/tas2552.c