[ALSA] Fix Oops with PCM OSS sync
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Jan 2008 22:53:41 +0000 (23:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:30:20 +0000 (17:30 +0100)
commit4939c660341d1439b8c70c3e006e7fc182f5111e
tree53a58cd398fed99ca24ce1f243955a3e024ba6d9
parentce875f079efcfdcf693de89c7ab0ca7f71a9bdce
[ALSA] Fix Oops with PCM OSS sync

The PCM OSS emulation can cause Oops at sync operation due to the wrong
data size calculation.  Typically happening on Sparc64:
http://lkml.org/lkml/2008/1/24/426

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/oss/pcm_oss.c