tegra-alt: adsp: remove broken app deinit code
authorViraj Karandikar <vkarandikar@nvidia.com>
Wed, 20 May 2015 11:19:39 +0000 (16:19 +0530)
committerSumit Bhattacharya <sumitb@nvidia.com>
Wed, 3 Jun 2015 09:52:18 +0000 (02:52 -0700)
commitdad9d1254e371f934f76afaeb973c3e96a2120ae
treef96e4526ffe95b52dcac484091505baa639a9549
parent9653cbd76bb516b3e3d7e480f35fd2770982af01
tegra-alt: adsp: remove broken app deinit code

Existing app deinit code is setting info and other pointers
to NULL, but not calling nvadsp_app_deinit() to close instance
on ADSP. Due to this multiple instances app get created on ADSP
and causing memory leaks.

Current usecases use static paths so app_deinit functionality
is not needed and adds overhead of freeing and allocating apps
everytime. So making tegra210_adsp_app_deinit() a empty function
for now. Proper app deinit functionality will be added in future
if needed.

Bug 200106688

Change-Id: I2b57efa6fa57253ee249c3dc3c43b5843109e2ae
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/744945
(cherry picked from commit ad17bed71e23a978202de7f7a695a4c4cede5dc7)
Reviewed-on: http://git-master/r/747320
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
sound/soc/tegra-alt/tegra210_adsp_alt.c