summaryrefslogtreecommitdiffstats
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-01-27 18:10:13 +0100
committerJaroslav Kysela <perex@perex.cz>2010-01-27 18:17:27 +0100
commit7910b4a1db63fefc3d291853d33c34c5b6352e8e (patch)
treee68f8581906f00f4cdefa2f1017555dd9fdb4d74 /fs/ioctl.c
parente7636925789b042ff9d98c51d48392e8c5549480 (diff)
downloadop-kernel-dev-7910b4a1db63fefc3d291853d33c34c5b6352e8e.zip
op-kernel-dev-7910b4a1db63fefc3d291853d33c34c5b6352e8e.tar.gz
ALSA: pcm_native - fix runtime->boundary calculation
The code in pcm_lib updating runtime->hw_ptr_interrupt expects that runtime->boundary is divisible with runtime->period_size. Thanks are going to Clemens Ladisch for the notice. Fix the runtime->boundary calculation using buffer_size * period_size as base and find a least common multiple for 32bit platforms when the expression might overflow. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud