1 Jul
2010
1 Jul
'10
9:02 p.m.
On Wed, Jun 30, 2010 at 02:08:11PM +0200, peter.ujfalusi@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.