diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-12-09 00:10:43 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-12-10 10:47:54 +0100 |
commit | 3c96101f190020e91d413c5835f7a722fc007923 (patch) | |
tree | 00aaf93b5806daa8c1f750e08c1ee50332a96747 /sound/firewire/oxfw/oxfw.c | |
parent | 5cd1d3f47a6321612a51ab88ffe8ef65120fcbe0 (diff) | |
download | op-kernel-dev-3c96101f190020e91d413c5835f7a722fc007923.zip op-kernel-dev-3c96101f190020e91d413c5835f7a722fc007923.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/oxfw/oxfw.c b/sound/firewire/oxfw/oxfw.c index a8f9062..a70149a 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; |