diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2021-05-18 10:45:48 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-18 12:21:52 +0200 |
commit | ffe66bbee1526cd7abd4e77eb3ff27527aace8f6 (patch) | |
tree | ec3efc6e03009eb0755c15ebfed86800af54da56 /sound/firewire/motu/motu.h | |
parent | Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro" (diff) | |
download | linux-ffe66bbee1526cd7abd4e77eb3ff27527aace8f6.tar.xz linux-ffe66bbee1526cd7abd4e77eb3ff27527aace8f6.zip |
ALSA: firewire-lib/motu: use int type for the value of bitwise OR with enumerator-constant
It brings some inconvenience in practice to use enumerated type for
variable to which bitwise OR with enumerator constant is assigned.
This commit replaces declarations of enumerated type with int type.
Suggested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210518084557.102681-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r-- | sound/firewire/motu/motu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/firewire/motu/motu.h b/sound/firewire/motu/motu.h index 3d0236ee6716..92effb6e6c96 100644 --- a/sound/firewire/motu/motu.h +++ b/sound/firewire/motu/motu.h @@ -106,7 +106,8 @@ enum snd_motu_protocol_version { struct snd_motu_spec { const char *const name; enum snd_motu_protocol_version protocol_version; - enum snd_motu_spec_flags flags; + // The combination of snd_motu_spec_flags enumeration-constants. + unsigned int flags; unsigned char tx_fixed_pcm_chunks[3]; unsigned char rx_fixed_pcm_chunks[3]; |