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