[PATCH 1/2] ASoC: sun4i-codec: pass through clk_set_rate error

2015-09-29 Thread Maxime Ripard
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 --- sound/soc/sunxi/sun4i-codec.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

[PATCH 1/2] ASoC: sun4i-codec: pass through clk_set_rate error

2015-09-29 Thread Maxime Ripard
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 --- sound/soc/sunxi/sun4i-codec.c | 7 --- 1 file changed,