greybus: audio: Added jack support to audio module
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Tue, 29 Mar 2016 11:02:36 +0000 (16:32 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 31 Mar 2016 17:19:57 +0000 (10:19 -0700)
commit64a7e2cceb75ccabaec713944a95511605751b29
tree1c745b4cb31d73c8acb1c3ac2eda3b087195142f
parent6da549ec851117293a07e64f97170f7dc9d55578
greybus: audio: Added jack support to audio module

Register jack with ASoC sound card in case audio module
populates it via codec FW. Currently, only a single jack
with 4 buttons can be registered for each module.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio_codec.c
drivers/staging/greybus/audio_codec.h
drivers/staging/greybus/audio_module.c
drivers/staging/greybus/audio_topology.c