ASoC: max98095: Check for clk_prepare_enable() error
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 20 Jun 2015 18:55:53 +0000 (15:55 -0300)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jul 2015 18:09:30 +0000 (19:09 +0100)
commit402f2a4f808a5d284de724689751dcd018835579
treed422eb2148fe9982f4e64e4c11422b92ec3599a6
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
ASoC: max98095: 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/max98095.c