mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -60,6 +60,8 @@ static int rk_multicodecs_hw_params(struct snd_pcm_substream *substream,
|
||||
goto out;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user