On Feb 12, 2008 9:19 PM, Zhang, Sonic <[EMAIL PROTECTED]> wrote: > Because the mmap solution introduces extra overhead in kernel. Customers > who don't want dmix feature are also affected by the performance down. > So, a better way is to keep both solution in the driver and give the > choice to customers.
nothing that i said below prevents a choice. we cannot go adding ifdef's to any codec driver as none of those will be acceptable to mainline. plus, we'd have to add this ugly little mmap renaming to every single codec driver. the entire point of the alsa soc refactoring was to get all board/processor differences removed from the codec drivers. since the only difference is userspace (the alsa config file), we can easily install one of two files from uclinux-dist based on the user's kernel configuration. -mike _______________________________________________ Linux-kernel-commits mailing list [email protected] http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
