summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/ump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/core/ump.c b/sound/core/ump.c
index 4150b9c0b35b..5e73c9cf5919 100644
--- a/sound/core/ump.c
+++ b/sound/core/ump.c
@@ -854,6 +854,10 @@ static void ump_handle_stream_msg(struct snd_ump_endpoint *ump,
unsigned int status;
int ret;
+ /* UMP stream message suppressed (for gadget UMP)? */
+ if (ump->no_process_stream)
+ return;
+
BUILD_BUG_ON(sizeof(*msg) != 16);
ump_dbg(ump, "Stream msg: %08x %08x %08x %08x\n",
buf[0], buf[1], buf[2], buf[3]);