]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: Handle errors when getting the op_clk clock
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 22 May 2014 10:10:52 +0000 (12:10 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 22 May 2014 16:57:27 +0000 (17:57 +0100)
commit0987ba796add6e3a3f22dbec4c2aca01159c53e2
tree8c40db9b1db558a24d1c82f97df606567bb59371
parentb0603608f188e9714513a17b241d0468aff89e7f
ASoC: samsung: Handle errors when getting the op_clk clock

Ensure i2s->op_clk is not used when clk_get() for this clock fails.
This prevents working with an incorrectly configured clock in some
conditions.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/i2s.c