[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56f71334ad4f41ceaa6237d387e2b478@BY2PR03MB505.namprd03.prod.outlook.com>
Date: Mon, 13 Jan 2014 02:02:16 +0000
From: "Li.Xiubo@...escale.com" <Li.Xiubo@...escale.com>
To: Jean-Francois Moine <moinejf@...e.fr>
CC: "broonie@...aro.org" <broonie@...aro.org>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kuninori.morimoto.gx@...esas.com" <kuninori.morimoto.gx@...esas.com>
Subject: RE: [alsa-devel] [PATCH] ASoC: simple-card: fix one bug to writing
to the platform data
Hi Jean-Francois,
>
> If the original cinfo is not used anymore, the use of its structure to
> handle the card information is not a good idea:
>
> - almost all cinfo information are in the struct snd_soc_card,
>
> - this cinfo structure cannot be extended to handle many DAI links,
>
> - it contains simple-card information which are of no use for the
> platform caller.
>
> So, I'd rather have seen:
>
> - the removal of 'snd_link' and 'snd_card' from the platform interface
> (struct asoc_simple_card_info),
>
> - the definition of a local struct simple_card_data containing the
> struct snd_soc_card and a pointer to an array of fmt/sysclk values
> (one per DAI link).
>
I have sent one patch to fix some of these and mainly fixed the bug from
Mark's comments in another early email.
Thanks,
--
Best Regards,
Xiubo
Powered by blists - more mailing lists