From: Takashi Iwai Date: Mon, 31 Jul 2006 14:51:51 +0000 (+0200) Subject: [ALSA] Fix control/status mmap with shared PCM substream X-Git-Tag: v2.6.19-rc1~1270^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=548a648b98318e4b843b636dd2c7f42377e19a00;p=pandora-kernel.git [ALSA] Fix control/status mmap with shared PCM substream The flag to avoid 32bit-incompatible mmap for control/status records should be outside the pcm substream instance since a substream can be shared among multiple opens. Now it's flagged in pcm_file list that is directly assigned to file->private_data. Also, removed snd_pcm_add_file() and remove_file() functions and substream.files field that are not really used in the code. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed