diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-02-01 16:52:54 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-02-01 16:52:54 +0100 |
commit | 52517d9c0c011272950e1d88f1ced297daa001e9 (patch) | |
tree | a6a17b07901b39d9caddf45a8972207512e6a8ed /include/uapi/sound/asound.h | |
parent | ALSA: hda: Skip codec shutdown in case the codec is not registered (diff) | |
parent | Input: wm97xx: Simplify resource management (diff) | |
download | linux-52517d9c0c011272950e1d88f1ced297daa001e9.tar.xz linux-52517d9c0c011272950e1d88f1ced297daa001e9.zip |
Merge tag 'asoc-fix-v5.17-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v5.17
Quite a few fixes here, including an unusually large set in the core
spurred on by various testing efforts as well as the usual small driver
fixes. There are quite a few fixes for out of bounds writes in both the
core and the various Qualcomm drivers, plus a couple of fixes for
locking in the DPCM code.
Diffstat (limited to 'include/uapi/sound/asound.h')
-rw-r--r-- | include/uapi/sound/asound.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index ef0cafe295b2..2d3e5df39a59 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h @@ -56,8 +56,10 @@ * * ****************************************************************************/ +#define AES_IEC958_STATUS_SIZE 24 + struct snd_aes_iec958 { - unsigned char status[24]; /* AES/IEC958 channel status bits */ + unsigned char status[AES_IEC958_STATUS_SIZE]; /* AES/IEC958 channel status bits */ unsigned char subcode[147]; /* AES/IEC958 subcode bits */ unsigned char pad; /* nothing */ unsigned char dig_subframe[4]; /* AES/IEC958 subframe bits */ |