This has now been integrated into the alsa-kernel CVS drivers. So none of the code here is needed.