[alsa-devel] [PATCH 6/9] ARM: DaVinci: ASoC: Adds McASP clock support for TI DM646X processor
Medisetty, Naresh
naresh at ti.com
Wed Mar 18 13:11:51 CET 2009
> On Mon, Mar 16, 2009 at 08:05:25AM -0400, Naresh Medisetty wrote:
>
> > + CLK("soc-audio.0", NULL, &mcasp0_clk),
> > + CLK("soc-audio.1", NULL, &mcasp1_clk),
>
> Assuming this is a shorthand for defining two platform devices for two
> ASoC cards I'd suggest that you instead move towards registering clocks
> for the DAIs and probing them as platform devices - take a look at how
> the PXA AC97 driver now does this for an example. The soc-audio device
> will hopefully get removed at some point and you can't guarantee that
> the user won't want to put the two DAIs into a single sound card.
Yes, This is a shorthand for defining two platform devices for two
ASoC cards.
I will re-work on this and submit a patch
More information about the Alsa-devel
mailing list