Re: [alsa-devel] tlv320aic3x: Allow driver to use already registered i2c device
13 Aug
2009
13 Aug
'09
3:48 p.m.
On Thu, Aug 13, 2009 at 02:26:38PM +0100, Ben Dooks wrote:
Mark Brown wrote:
Why would you want to do this? I suspect that perhaps you want to convert the driver to use the standard device model instead but without understanding your motivation for making this change it is very hard to comment in detail.
The device is registered by the code that sets the initial devices up that have been passed from the bootloader, thus the tlv320aic33 fails to initialise as there is already an i2c device on the i2c bus when it comes along.
OK, that's what I thought. You need to convert the driver to use the normal device model probe methods rather than using bodges like this. See drivers like wm8731 for an example of how the conversion looks.
5610
Age (days ago)
5610
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown