]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: audio: return success for stop trigger if device removed
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Tue, 16 Feb 2016 16:46:33 +0000 (22:16 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 18 Feb 2016 00:03:40 +0000 (16:03 -0800)
commitb07868bda2fb61b784dc260dd075d84ac994d599
treeba594822e37f0a6232f34c852c3db0e4c7528fb9
parent29386f058a758f5ef6e8a522101fcbfd0ef07a19
greybus: audio: return success for stop trigger if device removed

In case GB codec module is already removed, no action is required
at the HW level. Thus, report SUCCESS to above layer.

Reporting error to above layer will cause repeated trials and won't
allow to update DPCM connections.

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>
drivers/staging/greybus/audio_codec.c