aboutsummaryrefslogtreecommitdiffstats
path: root/sound/firewire/digi00x
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2021-05-18 17:45:48 +0900
committerTakashi Iwai <tiwai@suse.de>2021-05-18 12:21:52 +0200
commitffe66bbee1526cd7abd4e77eb3ff27527aace8f6 (patch)
treeec3efc6e03009eb0755c15ebfed86800af54da56 /sound/firewire/digi00x
parentRevert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro" (diff)
downloadlinux-dev-ffe66bbee1526cd7abd4e77eb3ff27527aace8f6.tar.xz
linux-dev-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 'sound/firewire/digi00x')
-rw-r--r--sound/firewire/digi00x/amdtp-dot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/digi00x/amdtp-dot.c b/sound/firewire/digi00x/amdtp-dot.c
index d613642a2ce3..398c57a6fb43 100644
--- a/sound/firewire/digi00x/amdtp-dot.c
+++ b/sound/firewire/digi00x/amdtp-dot.c
@@ -396,7 +396,7 @@ int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit,
enum amdtp_stream_direction dir)
{
amdtp_stream_process_ctx_payloads_t process_ctx_payloads;
- enum cip_flags flags;
+ unsigned int flags;
// Use different mode between incoming/outgoing.
if (dir == AMDTP_IN_STREAM) {