diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-06-03 14:56:33 -0600 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-08 18:21:21 +0200 |
commit | 32d24f4071e8ba2e14fe8ba09e391065c1115f2a (patch) | |
tree | 6d1f6d5cda6edc71ee89a4466bf97582d3fd0ac2 /include | |
parent | 547300fb35c9f60c34348bf6da36874236aec84e (diff) |
UCM: Allow querying of {Supported,Conflicting}Devices
At any time, one can query:
_supporteddevs/<modifier>|<device>/<verb>
_conflictingdevs/<modifier>|<device>/<verb>
If a verb is current, one can query:
_supporteddevs/<modifier>|<device>
_conflictingdevs/<modifier>|<device>
Note that at most one of the supported/conflicting devs lists has
any entries, and when neither is present, all devices are supported.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/use-case.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/use-case.h b/include/use-case.h index cb3176ea..b346877b 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -205,6 +205,11 @@ int snd_use_case_free_list(const char *list[], int items); * _enadevs - get list of enabled devices * _enamods - get list of enabled modifiers * + * _supporteddevs/<modifier>|<device>[/<verb>] - list of supported devices + * _conflictingdevs/<modifier>|<device>[/<verb>] - list of conflicting devices + * Note that at most one of the supported/conflicting devs lists has + * any entries, and when neither is present, all devices are supported. + * */ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, const char *identifier, |