]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: audio: Use AIF widget to enable path between module & APB
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Thu, 4 Aug 2016 09:44:33 +0000 (15:14 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 4 Aug 2016 17:07:30 +0000 (19:07 +0200)
commit487dcbd6ba46548f8f24dbd75423785ec8153712
tree0a16c7ff3d0e5c8a2998a5f0d02fb067f7b7d029
parent4ffca62a051c3e1722bcaf6a367b419e6e5e40e0
greybus: audio: Use AIF widget to enable path between module & APB

Currently, SPK Amp switch is used to identify when to enable data path
between module and APB. With headset, other switch controls added, it is
not possible to use this switch to control data path. Instead path
should be established based on AIF widget.

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