We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2af003 commit 1c8b82bCopy full SHA for 1c8b82b
sound/soc/bcm/pisound.c
@@ -55,7 +55,7 @@ static void pisnd_midi_uninit(void);
55
56
#define PISOUND_LOG_PREFIX "pisound: "
57
58
-#ifdef DEBUG
+#ifdef PISOUND_DEBUG
59
# define printd(...) pr_alert(PISOUND_LOG_PREFIX __VA_ARGS__)
60
#else
61
# define printd(...) do {} while (0)
@@ -119,7 +119,7 @@ static void pisnd_midi_recv_callback(void *substream)
119
while ((n = pisnd_spi_recv(data, sizeof(data)))) {
120
int res = snd_rawmidi_receive(substream, data, n);
121
(void)res;
122
- printd("midi recv 0x%02x, res = %d\n", data, res);
+ printd("midi recv %u bytes, res = %d\n", n, res);
123
}
124
125
0 commit comments