[alsa-devel] [RFC 04/16] ASoC: multi-component - TI CODECs
Mark Brown
broonie at opensource.wolfsonmicro.com
Thu Jul 1 21:02:05 CEST 2010
On Wed, Jun 30, 2010 at 02:08:11PM +0200, peter.ujfalusi at nokia.com 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.
More information about the Alsa-devel
mailing list