summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/audio_manager.h
diff options
context:
space:
mode:
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>2016-03-30 13:23:55 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-04-05 09:39:22 -0400
commita9234bfd6cec4420b5bef29d77dce1f9cb0543e2 (patch)
treed34d44f33373f3b12f8451b70933b22ab5195f7f /drivers/staging/greybus/audio_manager.h
parentdc5cc72cc6c219868ad5b87b26c79ac778444210 (diff)
greybus: audio_manager: Split device type into i/p & o/p devices
Currently, single field is used to report device type say SPK, MIC, HS, HP, etc. However above HAL expects separate fields for input & ouput device types. 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>
Diffstat (limited to 'drivers/staging/greybus/audio_manager.h')
-rw-r--r--drivers/staging/greybus/audio_manager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/greybus/audio_manager.h b/drivers/staging/greybus/audio_manager.h
index 9ca7ac09719e..c4ca09754a6a 100644
--- a/drivers/staging/greybus/audio_manager.h
+++ b/drivers/staging/greybus/audio_manager.h
@@ -22,7 +22,8 @@ struct gb_audio_manager_module_descriptor {
int vid;
int pid;
int cport;
- unsigned int devices;
+ unsigned int ip_devices;
+ unsigned int op_devices;
};
struct gb_audio_manager_module {