summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDipesh Gandhi <dipeshg@nvidia.com>2019-09-16 06:23:22 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2019-10-11 11:35:45 -0400
commit81cb4f1311718abb1b0880f5479fb975a4b9476b (patch)
tree47c4d81f455c6f0d2c83b5cded79d2ca6e2b03e2 /include/linux
parent74a8fe96ec7e89db246ddea8b6794cbbd46dda84 (diff)
ASoC: tegra-virt-alt: lpthread init via amixer
Change exposes lpthread/adsp usage trigger via amixer. This is needed to make sound card aware of lpthread state. Without this STR adsp feature breaks as currently lpthread is written in such a manner which does not allow adsp to suspend. Bug 200552183 Change-Id: I2cc1e0fd805a982686bbd034b2c6e094b56df23b Signed-off-by: Dipesh Gandhi <dipeshg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2198693 (cherry picked from commit e9bd14fd6eb0305cc583092752e6bdccc9c5e76a) Reviewed-on: https://git-master.nvidia.com/r/2210547 Reviewed-by: Uday Gupta <udayg@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tegra_nvadsp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/tegra_nvadsp.h b/include/linux/tegra_nvadsp.h
index 9778ec6a0..d06ef4e9c 100644
--- a/include/linux/tegra_nvadsp.h
+++ b/include/linux/tegra_nvadsp.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * A Header file for managing ADSP/APE 2 * A Header file for managing ADSP/APE
3 * 3 *
4 * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -198,7 +198,8 @@ void nvadsp_os_stop(void);
198int __must_check nvadsp_os_suspend(void); 198int __must_check nvadsp_os_suspend(void);
199void dump_adsp_sys(void); 199void dump_adsp_sys(void);
200void nvadsp_get_os_version(char *, int); 200void nvadsp_get_os_version(char *, int);
201 201int adsp_usage_set(unsigned int val);
202unsigned int adsp_usage_get(void);
202/* 203/*
203 * ADSP TSC 204 * ADSP TSC
204 */ 205 */