greybus: audio: Update device type based on widget types
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Wed, 30 Mar 2016 07:53:56 +0000 (13:23 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 5 Apr 2016 13:39:22 +0000 (09:39 -0400)
commit89de9a06213240b9266f9f368a867cf90d0024bf
tree4b32edc0f63e07638a3581b827d4c58fa3ccef44
parenta9234bfd6cec4420b5bef29d77dce1f9cb0543e2
greybus: audio: Update device type based on widget types

Device type info shared to above HAL is currently hard coded
to SPK only. Actual device type is identifed while parsing
widget types from topology FW shared by codec 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.h
drivers/staging/greybus/audio_module.c
drivers/staging/greybus/audio_topology.c