]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: audio: Maintain proper codec state during shutdown sequence.
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Tue, 12 Jul 2016 09:56:00 +0000 (04:56 -0500)
committerAlex Elder <elder@linaro.org>
Wed, 13 Jul 2016 18:48:07 +0000 (13:48 -0500)
commit12ce523147e485fc605599f7ec94fbbc6be0fc01
tree27ad563c798da90f04df0bee52eec8f7f7587027
parentcf1caac6cd7c1fa25de304925f6b239380797a46
greybus: audio: Maintain proper codec state during shutdown sequence.

During shutdown sequence, in case all modules are already removed,
codec state is not updated. Though it's not causing any harm for now,
but it's good to maintain proper codec state. Fix this.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/audio_codec.c