From: Clemens Ladisch Date: Fri, 18 Dec 2009 08:27:24 +0000 (+0100) Subject: sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer X-Git-Tag: v2.6.33-rc2~42^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e85fd614c7b6bb7f33bb04a0dcb5a3bfca4c0fe;p=pandora-kernel.git sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer When allocating the PCM buffer, use vmalloc_user() instead of vmalloc(). Otherwise, it would be possible for applications to play the previous contents of the kernel memory to the speakers, or to read it directly if the buffer is exported to userspace. Signed-off-by: Clemens Ladisch Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed