diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 85b2e4dde8838f195ace2f8be230f2c3f64d4bf9..515b8fcd1ca9a1cb6ea85b51ca530a9bb8428473 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h @@ -407,8 +407,9 @@ struct snd_pcm_status { snd_pcm_uframes_t avail_max; /* max frames available on hw since last status */ snd_pcm_uframes_t overrange; /* count of ADC (capture) overrange detections from last status */ snd_pcm_state_t suspended_state; /* suspended stream state */ + __u32 reserved_alignment; /* must be filled with zero */ struct timespec audio_tstamp; /* from sample counter or wall clock */ - unsigned char reserved[60-sizeof(struct timespec)]; /* must be filled with zero */ + unsigned char reserved[56-sizeof(struct timespec)]; /* must be filled with zero */ }; struct snd_pcm_mmap_status { diff --git a/sound/core/pcm_compat.c b/sound/core/pcm_compat.c index af2a3fdb8828f312e8ccc84214b29675a569a00d..af49721ba0e38310183adbe01dcb1f8acaa3d4ab 100644 --- a/sound/core/pcm_compat.c +++ b/sound/core/pcm_compat.c @@ -190,8 +190,9 @@ struct snd_pcm_status32 { u32 avail_max; u32 overrange; s32 suspended_state; + u32 reserved_alignment; struct compat_timespec audio_tstamp; - unsigned char reserved[60-sizeof(struct compat_timespec)]; + unsigned char reserved[56-sizeof(struct compat_timespec)]; } __attribute__((packed));