From: Takashi Iwai Date: Fri, 3 Aug 2012 10:51:21 +0000 (+0200) Subject: ALSA: emu10k1: Avoid access to invalid pages when period=1 X-Git-Tag: v3.6-rc2~27^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcfb7866af9a5d0280b7e51dd772990c636b7dec;p=pandora-kernel.git ALSA: emu10k1: Avoid access to invalid pages when period=1 When period=1, the driver tries to allocate a bit bigger buffer than requested by the user due to the irq latency tolerance. This may lead to accesses over the actually allocated pages. This patch adds a check of the page index and assigns the silent page when it's over the given buffer size. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed