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(-)
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,
2 matches
Mail list logo