ASoC: tegra: fix avp module remove
authorShreshtha SAHU <ssahu@nvidia.com>
Tue, 7 Oct 2014 10:07:45 +0000 (15:07 +0530)
committerShreshtha Sahu <ssahu@nvidia.com>
Sat, 11 Oct 2014 04:22:11 +0000 (21:22 -0700)
commit890300e02b091bc3e0b036589d9b460065fb980b
tree815c8a62561e570aff527985735b6c6a8865c8b7
parent62274fff6b94c9b03464b8f20e82a956d2b032f0
ASoC: tegra: fix avp module remove

- avp module remove should not try to release client
  if avp pcm open was never called and client was
  never allocated

- avp module remove should deregister offload ops

Bug 200043253

Change-Id: I11a6d65afab4d88aa5669553809e99fd69cfd000
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/554153
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
(cherry picked from commit 999d45effe06a69f28d87c8517b94a109cffbb45)
Reviewed-on: http://git-master/r/554528
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
sound/soc/tegra/tegra30_avp.c
sound/soc/tegra/tegra_offload.c
sound/soc/tegra/tegra_offload.h