On Thu, Feb 18, 2021 at 03:57:11PM +0800, Shengjiu Wang wrote: > Can I add a flag: > "rpmsg->mclk_streams & BIT(substream->stream)" > for avoiding multiple calls of hw_params function before enabling > clock? Yes, if you do local refcounting that'd avoid the issue.