diff options
author | Vaibhav Agarwal <vaibhav.agarwal@linaro.org> | 2016-07-05 17:09:20 -0500 |
---|---|---|
committer | Alex Elder <elder@linaro.org> | 2016-07-05 21:17:51 -0500 |
commit | 0c15a9e0f3f7174718351fcb1c16be944f3b8a57 (patch) | |
tree | bc4230a926c296727c64d0b2d6f70a4f72eb7f13 /drivers/staging/greybus/audio_codec.h | |
parent | 957ccca08a990888e2a8f057dee646b8f37b1660 (diff) | |
download | op-kernel-dev-0c15a9e0f3f7174718351fcb1c16be944f3b8a57.zip op-kernel-dev-0c15a9e0f3f7174718351fcb1c16be944f3b8a57.tar.gz |
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>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.h')
-rw-r--r-- | drivers/staging/greybus/audio_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/audio_codec.h b/drivers/staging/greybus/audio_codec.h index 5a19467..f4936f1 100644 --- a/drivers/staging/greybus/audio_codec.h +++ b/drivers/staging/greybus/audio_codec.h @@ -123,6 +123,7 @@ struct gbaudio_widget { struct gbaudio_control { __u8 id; char *name; + char *wname; const char * const *texts; struct list_head list; }; |