ASoC: wm8904: Check for clk_prepare_enable() error
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 20 Jun 2015 18:55:51 +0000 (15:55 -0300)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jul 2015 18:08:57 +0000 (19:08 +0100)
commit779ea47399bae5d9418451f5283a3b2e35869627
tree7dd2806acaeb1f18a8112f172a7c08a99f613fda
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
ASoC: wm8904: Check for clk_prepare_enable() error

clk_prepare_enable() may fail, so we should better check its return value
and propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8904.c