summaryrefslogtreecommitdiffstats
path: root/core.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-01-29 18:39:53 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-01-29 18:39:53 +1100
commit2e1b1a2ec043a89d7720e9b9c00d4f783ce6a62b (patch)
tree44ea5aceb8de004aa1ab64781c2ed2b712d0efed /core.c
parente423837602e5cdc11a0912f4bd27904d4e0c6946 (diff)
Make snd_avirt_stream_get an exported function
Clean up logging Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'core.c')
-rw-r--r--core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/core.c b/core.c
index e431402..23351fc 100644
--- a/core.c
+++ b/core.c
@@ -323,13 +323,15 @@ struct snd_avirt_audiopath *snd_avirt_audiopath_get(const char *uid)
struct snd_avirt_audiopath_obj *ap_obj;
list_for_each_entry(ap_obj, &audiopath_list, list) {
- // pr_info("get_ap %s\n", ap_obj->path->uid);
+ //D_INFOK("snd_avirt_audiopath_get, map:%s", uid);
+
if (!strcmp(ap_obj->path->uid, uid))
return ap_obj->path;
}
return NULL;
}
+EXPORT_SYMBOL_GPL(snd_avirt_audiopath_get);
/**
* snd_avirt_audiopath_register - register Audio Path with AVIRT