]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: sun4i-codec: pass through clk_set_rate error
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 29 Sep 2015 19:43:17 +0000 (21:43 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 30 Sep 2015 18:41:14 +0000 (19:41 +0100)
commit98a4b665bc91480cc4c054093a59249e153ac17e
tree570c54adf50ace99f9e5bcd1006493a041924813
parent31f4f0c640bd2d144ab16666c76d45f173f952f5
ASoC: sun4i-codec: pass through clk_set_rate error

The current code, disregarding the clk_set_rate error code, was always
returning -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