diff options
Diffstat (limited to 'core.c')
-rw-r--r-- | core.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |