ASoC: sun4i-spdif: Handle return value of clk_prepare_enable.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 25 Jul 2017 10:15:18 +0000 (15:45 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jul 2017 12:01:33 +0000 (13:01 +0100)
commit3643e9172649f97f2e6301582890202abcc0f97e
treef4625d614ae24375aae88fc3637c1e5aeffa0be2
parent72bfa2117bdb4bb5b07dd5ed833ff3c318fc70b6
ASoC: sun4i-spdif: Handle return value of clk_prepare_enable.

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-spdif.c