ASoC: mxs-saif: Handle return value of clk_prepare_enable/clk_prepare.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 25 Jul 2017 10:14:33 +0000 (15:44 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jul 2017 12:00:56 +0000 (13:00 +0100)
commit0d97ee867958a092f02e9cd7c865c278bcec18a6
treecc6c6b2b6d75bab177b063ea71764c5730deda30
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
ASoC: mxs-saif: Handle return value of clk_prepare_enable/clk_prepare.

clk_prepare_enable() and clk_prepare() 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/mxs/mxs-saif.c