diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2017-09-21 08:03:29 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-09-22 11:23:48 +0200 |
commit | c9adcdbc653b52e4be834f535eefec833f9ca6b1 (patch) | |
tree | d8a6b05fe33e719549366a3ddbe1049170bc0bc3 /sound | |
parent | ALSA: usb-audio: Add sample rate quirk for Plantronics C310/C520-M (diff) | |
download | linux-c9adcdbc653b52e4be834f535eefec833f9ca6b1.tar.xz linux-c9adcdbc653b52e4be834f535eefec833f9ca6b1.zip |
ALSA: pcm: Fix structure definition for X32 ABI
X32 ABI uses the 64bit timespec in addition to 64bit alignment of 64bit
values. We have added compat ABI for these ioctls, but this patch adds
one missing padding into 'struct snd_pcm_mmap_status_x32' to fix
incompatibilities.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/pcm_compat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/pcm_compat.c b/sound/core/pcm_compat.c index 3a1cc7b97e46..b719d0bd833e 100644 --- a/sound/core/pcm_compat.c +++ b/sound/core/pcm_compat.c @@ -547,6 +547,7 @@ struct snd_pcm_mmap_status_x32 { u32 pad2; /* alignment */ struct timespec tstamp; s32 suspended_state; + s32 pad3; struct timespec audio_tstamp; } __packed; |