summaryrefslogtreecommitdiff
path: root/built_in.h
diff options
context:
space:
mode:
Diffstat (limited to 'built_in.h')
0 files changed, 0 insertions, 0 deletions
wal@linaro.org>2016-08-04 15:14:30 +0530 committerGreg Kroah-Hartman <gregkh@google.com>2016-08-04 19:07:30 +0200 commitaaef32a6cc552d50b86fcf9c5b2105f08c048cdc (patch) tree9734ec0c3b13252ae29f98f58319bc44d96d375d /drivers/staging parentce9413062f8e2366916beebbfa8e73c6ff1a2c8c (diff)
greybus: audio: Split helper APIs based on stream direction
Now, module is enabled/disabled based on widget event only and not during startup/shutdown callbacks. Thus, we needn't compare codec_state in enable/disable module helper APIs. Also, these can be further simplified based on stream direction. 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')
-rw-r--r--drivers/staging/greybus/audio_codec.c405
1 files changed, 228 insertions, 177 deletions
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c