Re: [PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 12:38:30PM -0400, Jon Smirl wrote: > On 7/22/08, Grant Likely <[EMAIL PROTECTED]> wrote: > > +int of_snd_soc_register_codec(struct snd_soc_codec_device *codec_dev, > > + void *codec_data, struct snd_soc_dai *dai, > > +

Re: [alsa-devel] [PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 12:38:30PM -0400, Jon Smirl wrote: > On 7/22/08, Grant Likely <[EMAIL PROTECTED]> wrote: > > +int of_snd_soc_register_platform(struct snd_soc_platform *platform, > > +struct device_node *node, > > +struct sn

Re: [PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Jon Smirl
On 7/22/08, Grant Likely <[EMAIL PROTECTED]> wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > Simple utility layer for creating ASoC machine instances based on data > in the OpenFirmware device tree. OF aware platform drivers and codec > drivers register themselves with this framework and th

Re: [PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 12:53:53AM -0600, Grant Likely wrote: > This is most likely temporary glue code to work around limitations in > the ASoC v1 framework. When v2 is merged, most of this driver will > need to be reworked. Whatever is needed in v2 can probably have the client registration fun

[PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-21 Thread Grant Likely
From: Grant Likely <[EMAIL PROTECTED]> Simple utility layer for creating ASoC machine instances based on data in the OpenFirmware device tree. OF aware platform drivers and codec drivers register themselves with this framework and the framework automatically instantiates a machine driver. At the