From: Takashi Iwai Date: Fri, 4 Sep 2009 10:19:36 +0000 (+0200) Subject: ALSA: dummy - Fake buffer allocations X-Git-Tag: v2.6.32-rc1~732^2~14^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a68c4d11336610dc348620766119db09675707c2;p=pandora-kernel.git ALSA: dummy - Fake buffer allocations Instead of allocating the real buffers, use a fake buffer and ignore read/write in the dummy driver so that we can save the resources. For mmap, a single page (unique to the direction, though) is reused to all buffers. When the app requires to read/write the real buffers, pass fake_buffer=0 module option at loading time. This will get back to the old behavior. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed