summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/audio_codec.h
diff options
context:
space:
mode:
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>2016-01-14 00:07:53 +0300
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-14 03:43:32 +0300
commit17247da52ee8694429e089f452dd14f4dbda9f06 (patch)
treeaa2d81fe592a1b74c6c4cd9f5baf03873b7af4fd /drivers/staging/greybus/audio_codec.h
parentb7f0088df7369bafc5029be7c0085961904086fc (diff)
downloadlinux-17247da52ee8694429e089f452dd14f4dbda9f06.tar.xz
greybus: audio: Report uevent on GB codec module insertion/removal
GB-Audio-manager module is currently used to report uevent to above layer in response to any codec module inserted or removed. Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org> Signed-off-by: Mark Greer <mgreer@animalcreek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.h')
-rw-r--r--drivers/staging/greybus/audio_codec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/greybus/audio_codec.h b/drivers/staging/greybus/audio_codec.h
index 5051e06dfff6..fcf3a0602176 100644
--- a/drivers/staging/greybus/audio_codec.h
+++ b/drivers/staging/greybus/audio_codec.h
@@ -97,10 +97,13 @@ struct gbaudio_codec_info {
int type;
int dai_added;
int codec_registered;
+ int set_uevent;
char vstr[NAME_SIZE];
char pstr[NAME_SIZE];
struct list_head list;
struct gb_audio_topology *topology;
+ /* need to share this info to above user space */
+ int manager_id;
char name[NAME_SIZE];
/* soc related data */