diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2021-05-18 17:45:48 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-18 12:21:52 +0200 |
commit | ffe66bbee1526cd7abd4e77eb3ff27527aace8f6 (patch) | |
tree | ec3efc6e03009eb0755c15ebfed86800af54da56 /sound/firewire/amdtp-am824.h | |
parent | 5d6fb80a142b5994355ce675c517baba6089d199 (diff) |
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 'sound/firewire/amdtp-am824.h')
-rw-r--r-- | sound/firewire/amdtp-am824.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/amdtp-am824.h b/sound/firewire/amdtp-am824.h index 06d280783581..2b092b1061ba 100644 --- a/sound/firewire/amdtp-am824.h +++ b/sound/firewire/amdtp-am824.h @@ -45,5 +45,5 @@ void amdtp_am824_midi_trigger(struct amdtp_stream *s, unsigned int port, struct snd_rawmidi_substream *midi); int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit, - enum amdtp_stream_direction dir, enum cip_flags flags); + enum amdtp_stream_direction dir, unsigned int flags); #endif |