From: Takashi Iwai Date: Tue, 30 Nov 2010 07:14:21 +0000 (+0100) Subject: ALSA: Fix SNDCTL_DSP_RESET ioctl for OSS emulation X-Git-Tag: v2.6.37-rc5~11^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60686aa0086a14f8b15c83a09f3df1eebe3aab3c;p=pandora-kernel.git ALSA: Fix SNDCTL_DSP_RESET ioctl for OSS emulation In OSS emulation, SNDCTL_DSP_RESET ioctl needs the reset of the internal buffer state in addition to drop of the running streams. Otherwise the succeeding access becomes inconsistent. Tested-by: Amit Nagal Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed