ASoC: samsung: pcm: Handle return value of clk_prepare_enable.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 25 Jul 2017 10:14:30 +0000 (15:44 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jul 2017 12:00:24 +0000 (13:00 +0100)
commita7ad9a88300c813a945793e9dae84ceaf7809141
tree1eed9705ebc28f55d044534cc74ab9d873de7ec5
parent8698475a94d0b7eb21efaa346d507dc4932f2032
ASoC: samsung: pcm: 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>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/pcm.c