Re: [RFC 04/16] ASoC: multi-component - TI CODECs

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

 



On Wed, Jun 30, 2010 at 02:08:11PM +0200, peter.ujfalusi@xxxxxxxxx wrote:

> - What is the reason to move the IRQ, GPIO, and regulator request from the i2c_probe to soc_probe?

So, the theory here is that when you've got both I2C and SPI on a single
CODEC all the basic setup code tends to be identical over all buses (as
it is with the current register() functions.  Personally I do find this
a bit strange since it feels better to have the driver check for all the
things it needs before it has the subsystem go and try to do broader
setup work but it does do the code sharing job.
_______________________________________________
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