ASoC: rockchip: multicodecs: fix the missing return 0 at hw_param

Here the -ENOTSUPP is not an error if there is no set_sysclk
implement in codec_dai and cpu_dai, we need to return 0 that
it's correct.

Change-Id: I969e3eacba39ac8d6c94ddcc27c60cc110d66156
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This commit is contained in:
Xing Zheng
2018-05-10 10:11:47 +08:00
committed by Tao Huang
parent a43e4e60c8
commit 5e52d77889

View File

@@ -60,6 +60,8 @@ static int rk_multicodecs_hw_params(struct snd_pcm_substream *substream,
goto out;
}
return 0;
out:
return ret;
}