]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: audio: Use single codec driver registration
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Tue, 29 Mar 2016 18:01:41 +0000 (23:31 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 29 Mar 2016 18:15:14 +0000 (11:15 -0700)
commit6dd67645f22cfeb55a32e9a08c92deb297d06935
tree26647caa29d37b94515ba7e552b0653cb23b69e7
parent0ec306324423444d3ee0222708ef9de7f5586b93
greybus: audio: Use single codec driver registration

We have single I2S port via APB1 for communication with all
audio modules. Thus, we should register single codec driver
and manage all individual audio modules internally within
this driver.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mark.greer@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_topology.c