]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: pcm: Fix ioctls for X32 ABI
authorTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 10:23:09 +0000 (11:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Mar 2016 23:34:54 +0000 (15:34 -0800)
commitf9ed7db13ebd5c7723731228b190fe19ef255ba7
tree82e807dea11cca9c5f4e4fb400ecf8d431127214
parent7c0fe28f45a58434011e8fe04fa09f595ed3a97f
ALSA: pcm: Fix ioctls for X32 ABI

commit 513ace79b657e2022a592e77f24074e088681ecc upstream.

X32 ABI uses the 64bit timespec in addition to 64bit alignment of
64bit values.  This leads to incompatibilities in some PCM ioctls
involved with snd_pcm_channel_info, snd_pcm_status and
snd_pcm_sync_ptr structs.  Fix the PCM compat ABI for these ioctls
like the previous commit for ctl API.

Reported-by: Steven Newbury <steve@snewbury.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/pcm_compat.c