summaryrefslogtreecommitdiffstats
path: root/sound/firewire/oxfw/oxfw.c
diff options
context:
space:
mode:
authorTakashi Sakamoto2014-12-08 16:10:43 +0100
committerTakashi Iwai2014-12-10 10:47:54 +0100
commit3c96101f190020e91d413c5835f7a722fc007923 (patch)
tree00aaf93b5806daa8c1f750e08c1ee50332a96747 /sound/firewire/oxfw/oxfw.c
parentALSA: oxfw: Change the way to make PCM rules/constraints (diff)
downloadkernel-qcow2-linux-3c96101f190020e91d413c5835f7a722fc007923.tar.gz
kernel-qcow2-linux-3c96101f190020e91d413c5835f7a722fc007923.tar.xz
kernel-qcow2-linux-3c96101f190020e91d413c5835f7a722fc007923.zip
ALSA: oxfw: Add proc interface for debugging purpose
This commit adds proc interface to get information about stream formation. This commit also adds snd_oxfw_stream_get_current_formation() to get current stream formation. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/oxfw/oxfw.c')
-rw-r--r--sound/firewire/oxfw/oxfw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/oxfw/oxfw.c b/sound/firewire/oxfw/oxfw.c
index a8f9062b2884..a70149ab511b 100644
--- a/sound/firewire/oxfw/oxfw.c
+++ b/sound/firewire/oxfw/oxfw.c
@@ -101,6 +101,8 @@ static int oxfw_probe(struct fw_unit *unit,
if (err < 0)
goto error;
+ snd_oxfw_proc_init(oxfw);
+
err = snd_oxfw_stream_init_simplex(oxfw);
if (err < 0)
goto error;