OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2644df6
)
ALSA: firewire-motu: print for unknown source of sampling clock
author
Takashi Sakamoto
<o-takashi@sakamocchi.jp>
Wed, 30 Oct 2019 08:06:40 +0000
(17:06 +0900)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 30 Oct 2019 09:57:53 +0000
(10:57 +0100)
When unknown source is detected for sampling clock, corresponding label
was not added for node on procfs.
This commit adds it.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link:
https://lore.kernel.org/r/20191030080644.1704-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/motu/motu-proc.c
patch
|
blob
|
history
diff --git
a/sound/firewire/motu/motu-proc.c
b/sound/firewire/motu/motu-proc.c
index
ea46fb4
..
4e5767c
100644
(file)
--- a/
sound/firewire/motu/motu-proc.c
+++ b/
sound/firewire/motu/motu-proc.c
@@
-19,6
+19,7
@@
static const char *const clock_names[] = {
[SND_MOTU_CLOCK_SOURCE_SPDIF_ON_COAX] = "S/PCIF on coaxial interface",
[SND_MOTU_CLOCK_SOURCE_AESEBU_ON_XLR] = "AESEBU on XLR interface",
[SND_MOTU_CLOCK_SOURCE_WORD_ON_BNC] = "Word clock on BNC interface",
+ [SND_MOTU_CLOCK_SOURCE_UNKNOWN] = "Unknown",
};
static void proc_read_clock(struct snd_info_entry *entry,