On Mon, May 25, 2009 at 2:34 AM, Grant Likely <grant.likely@xxxxxxxxxxxx> wrote: > On Sun, May 24, 2009 at 7:38 PM, Jon Smirl <jonsmirl@xxxxxxxxx> wrote: > > This is ugly. I'd really rather have a generic mechanism for creating > a fabric driver based on the OF data. But failing that, it seems to > me that this platform device registration should be done in the > platform code (arch/powerpc/platforms/52xx). Doing it in a module > init looks wrong. I'm all for deleting it as soon as AC97 is capable of auto-loading. I thought it was better to leave it in the sound directories to keep it isolated since the intention is to remove it when possible. BTW, my binding files are quite simple compared to mpc8610_hpcd.c. > > I was trying to do a sort of generic matching mechanism with the of > simple stuff; but admittedly it was hacky and half-assed. However, I > do still think it is viable to have OF hooks that kick in when codec > and machine drivers are registered. If linkage data is encoded in the > device tree, then generic code should be able to hook them up; pulling > additional data out of the device tree as needed to configure the > coded. > > g. > > -- > Grant Likely, B.Sc., P.Eng. > Secret Lab Technologies Ltd. > -- Jon Smirl jonsmirl@xxxxxxxxx _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel