ASoC: samsung: Fix error handling for clock lookup
authorMark Brown <broonie@kernel.org>
Fri, 5 Dec 2014 19:58:32 +0000 (19:58 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 6 Dec 2014 12:24:27 +0000 (12:24 +0000)
commitba56447c3586465fd6eaf9869410dafb748a4d0d
tree774233bdcc156e652554150ace92d1da3f6b3eec
parentd683d0b690c13437d752ccce47963ac64119b07a
ASoC: samsung: Fix error handling for clock lookup

Return the error code we got from clk_get() and check to make sure that
clk_prepare_enable() worked.

Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c