diff options
author | Vaibhav Agarwal <vaibhav.agarwal@linaro.org> | 2016-01-13 14:07:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-13 16:43:32 -0800 |
commit | 17247da52ee8694429e089f452dd14f4dbda9f06 (patch) | |
tree | aa2d81fe592a1b74c6c4cd9f5baf03873b7af4fd /drivers/staging/greybus/audio_codec.h | |
parent | b7f0088df7369bafc5029be7c0085961904086fc (diff) |
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.h | 3 |
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 */ |