[PATCH] ASoC: imx-rpmsg: Support configure sysclk for codec dai
Mark Brown
broonie at kernel.org
Tue Aug 2 15:02:09 CEST 2022
On Tue, Aug 02, 2022 at 08:23:37PM +0800, Shengjiu Wang wrote:
> On Tue, Aug 2, 2022 at 1:47 AM Nicolin Chen <nicoleotsuka at gmail.com> wrote:
> > On Mon, Aug 1, 2022 at 5:42 AM Shengjiu Wang <shengjiu.wang at nxp.com>
> > wrote:
> > > struct imx_rpmsg {
> > > struct snd_soc_dai_link dai;
> > > struct snd_soc_card card;
> > > + unsigned int sysclk;
> > unsigned long?
> Seems int or long are all used in the kernel.
> I am not sure which one is better?
clk_get_rate() and clk_set_rate() do use unsigned long, but on a lot of
architectures that is the same size as int so it makes little practical
difference though it would be more correct to use an unsigned long.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220802/0f872b68/attachment.sig>
More information about the Alsa-devel
mailing list