ASoC: tegra: fix avp module remove
authorShreshtha SAHU <ssahu@nvidia.com>
Tue, 7 Oct 2014 10:07:45 +0000 (15:07 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Wed, 8 Oct 2014 01:01:06 +0000 (18:01 -0700)
commit999d45effe06a69f28d87c8517b94a109cffbb45
treed296597f4256fc7b5752a3df2b43bae9f7fec40a
parent4d7e90b09fb42478c4570c3241c8b7904cb47d46
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: Automatic_Commit_Validation_User
Reviewed-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
sound/soc/tegra/tegra30_avp.c
sound/soc/tegra/tegra_offload.c
sound/soc/tegra/tegra_offload.h