ASoC: fsl: fsl_spdif: Check for clk_prepare_enable() error
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 20 Jun 2015 21:18:06 +0000 (18:18 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jul 2015 12:32:34 +0000 (13:32 +0100)
commitfa3be9208dcb21ae4185f6122137fe7d5cf29d74
treea6ca1ad9652ba6c751184192b122caf34a687973
parentb1ade0f2afe283d59eb313e5717870fdb831fc4e
ASoC: fsl: fsl_spdif: 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>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_spdif.c