Re: [RFC/PATCH 1/1] ASoC: Add drivers for the Texas Instruments OMAP processors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 22, 2008 at 09:48:45AM +0300, Jarkko Nikula wrote:
> "ext Tony Lindgren" <tony@xxxxxxxxxxx> wrote:

> > The platform_device_register() should be done in board-*.c files.

> This is a valid point. I think it should be possible to have also in
> ASoC v1 e.g n810_mcbsp_aic33 driver whose probe function would be more
> or less like n810_soc_init now. At least sound/soc/fsl/mpc8610_hpcd.c is
> doing similar thing.

> Mark, any thoughts?

Leave it as-is for ASoC v1, the soc-audio device can't meaningfully be
defined in the platform data.  ASoC v2 lets you define a device for the
platform driver for the particular board (as well as for things like I2S
controllers on the SoC) which deals with this a lot better.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux