]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/staging/greybus/audio_topology.c
greybus: audio: topology: Add helper API to map controlid with widget name
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Tue, 5 Jul 2016 22:09:20 +0000 (17:09 -0500)
committerAlex Elder <elder@linaro.org>
Wed, 6 Jul 2016 02:17:51 +0000 (21:17 -0500)
commit0c15a9e0f3f7174718351fcb1c16be944f3b8a57
treebc4230a926c296727c64d0b2d6f70a4f72eb7f13
parent957ccca08a990888e2a8f057dee646b8f37b1660
greybus: audio: topology: Add helper API to map controlid with widget name

This API is used by enumerated controls .get/.set callback functions to
fetch control id associated with a widget.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mark.greer@animalcreek.com>
Signed-off-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/audio_codec.h
drivers/staging/greybus/audio_topology.c