24 May
2009
24 May
'09
8:35 p.m.
On Sun, May 24, 2009 at 11:21:15AM -0400, Jon Smirl wrote:
My AC97 driver is detecting the codec id and printing it before trying to access the codec driver. I can convert that to a load_module() call when the drivers are ready.
No, your AC97 driver shouldn't be doing any of this at all - it should be leaving any enumeration of the hardware up to the machine driver and the core. In so far as it is standardised the process for probing AC97 is something that can be implemented in terms of the operations exported by the DAI so it should be done in the core for all AC97 DAIs. Where standardised probing can't work it needs to be machine specific anyway.