summaryrefslogtreecommitdiffstats
path: root/sound/firewire/digi00x/digi00x.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-09-30 09:39:19 +0900
committerTakashi Iwai <tiwai@suse.de>2015-09-30 15:35:31 +0200
commit927f17dc3a517128f07bbc1634fb25ce2587dc6f (patch)
tree359abc071958996dc1422a71744e82794821d33a /sound/firewire/digi00x/digi00x.c
parent3a2a17974eef10766ffbd7d3e9f5191fbb3c9f33 (diff)
downloadlinux-927f17dc3a517128f07bbc1634fb25ce2587dc6f.tar.bz2
ALSA: firewire-digi00x: add proc node to show clock status
This commit adds proc node to show current clock status for debugging. As long as testing Digi 002 rack, registers can show local clock rate, local clock source. When external clock input such as S/PDIF is connected, the registers show the detection and external clock rate. Additionally, the registers show the mode of optical digital input interface. Although, a tester with Digi 003 rack reports this makes no sense. Further investigation is required for Digi 003 series. Besides, in Digi 002 rack, the S/PDIF format must be IEC 60958-4, so-called professional. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/digi00x/digi00x.c')
-rw-r--r--sound/firewire/digi00x/digi00x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/digi00x/digi00x.c b/sound/firewire/digi00x/digi00x.c
index 5bda4c4c87f0..a5f66fd1fb18 100644
--- a/sound/firewire/digi00x/digi00x.c
+++ b/sound/firewire/digi00x/digi00x.c
@@ -81,6 +81,8 @@ static int snd_dg00x_probe(struct fw_unit *unit,
if (err < 0)
goto error;
+ snd_dg00x_proc_init(dg00x);
+
err = snd_card_register(card);
if (err < 0)
goto error;