[<prev] [next>] [day] [month] [year] [list]
Message-ID: <PAXPR04MB9089C99640D09D6CC22AC0DFE34B9@PAXPR04MB9089.eurprd04.prod.outlook.com>
Date: Wed, 5 Jan 2022 09:02:40 +0000
From: "S.J. Wang" <shengjiu.wang@....com>
To: Mark Brown <broonie@...nel.org>
CC: "timur@...nel.org" <timur@...nel.org>,
"nicoleotsuka@...il.com" <nicoleotsuka@...il.com>,
"Xiubo.Lee@...il.com" <Xiubo.Lee@...il.com>,
"festevam@...il.com" <festevam@...il.com>,
"perex@...ex.cz" <perex@...ex.cz>,
"tiwai@...e.com" <tiwai@...e.com>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] ASoC: imx-card: Need special setting for ak4497 on
i.MX8MQ
Hi
>
> > /* sai may support mclk/bclk = 1 */
> > - if (of_find_property(np, "fsl,mclk-equal-bclk", NULL))
> > + if (of_find_property(np, "fsl,mclk-equal-bclk", NULL))
> {
> > link_data->one2one_ratio = true;
> > + } else {
> > + int i;
> > +
> > + /*
> > + * i.MX8MQ don't support one2one ratio,
> then
> > + * with ak4497 only 16bit case is supported.
> > + */
> > + for (i = 0; i < ARRAY_SIZE(ak4497_fs_mul); i++)
> {
>
> Shouldn't this be keyed off checking that we are actually running with an
> ak4497?
No need. Here just update the ak4497_fs_mul table, before it is used the
codec type is checked.
Best regards
Wang Shengjiu
Powered by blists - more mailing lists