]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun4i-codec: pass through clk_set_rate error
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 1 Dec 2015 11:06:47 +0000 (12:06 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 1 Dec 2015 15:41:29 +0000 (15:41 +0000)
commiteb8acee35776b9e7024a0f58e80ad54654987d01
treece165e57a5aa2f0477b1f01609402392c31f2880
parent3fb31e8d6909f2d7c8d164d17e38f47b508af200
ASoC: sun4i-codec: pass through clk_set_rate error

Commit f8b7c4e7dde8 ('ASoC: sun4i: Implement MIC1 capture') added back some
code that disregards the clk_set_rate error code and always returns
-EINVAL. Fix that and return the code in order to have more clue about
what's going on.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c