ALSA: pcm: Fix ioctls for X32 ABI
authorTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 10:23:09 +0000 (11:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 16:44:35 +0000 (17:44 +0100)
commit513ace79b657e2022a592e77f24074e088681ecc
tree88e700a897d8c83465c6d2d4ce8975af15993cfe
parent6236d8bb2afcfe71b88ecea554e0dc638090a45f
ALSA: pcm: Fix ioctls for X32 ABI

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>
Cc: <stable@vger.kernel.org> # v3.4+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_compat.c