]> git.alsa-project.org Git - alsa-lib.git/commit
UCM: Allow querying of {Supported,Conflicting}Devices
authorStephen Warren <swarren@nvidia.com>
Fri, 3 Jun 2011 20:56:33 +0000 (14:56 -0600)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Jun 2011 16:21:21 +0000 (18:21 +0200)
commit32d24f4071e8ba2e14fe8ba09e391065c1115f2a
tree6d1f6d5cda6edc71ee89a4466bf97582d3fd0ac2
parent547300fb35c9f60c34348bf6da36874236aec84e
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>
include/use-case.h
src/ucm/main.c