From cb3d3637bf137dd1fa04a9c3d2983ffd36279cb6 Mon Sep 17 00:00:00 2001 From: Hariharan Sivaraman Date: Wed, 11 Jul 2018 12:39:01 +0530 Subject: [PATCH] tegra-alt: adsp: update index for send bytes ctrl Number of ADSP plugins were increased to 20. The PLUGIN_SEND_BYTES_IDX macro should be updated to reflect the same. Bug 2048629 Change-Id: Ia02361600530f88b133eae1a67e440570e19dfb4 Signed-off-by: Hariharan Sivaraman Reviewed-on: https://git-master.nvidia.com/r/1775907 Reviewed-by: svc-mobile-coverity Reviewed-by: Uday Gupta GVS: Gerrit_Virtual_Submit Tested-by: Uday Gupta Reviewed-by: Nitin Pai Reviewed-by: mobile promotions Tested-by: mobile promotions --- sound/soc/tegra-alt/tegra210_adsp_alt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/tegra-alt/tegra210_adsp_alt.c b/sound/soc/tegra-alt/tegra210_adsp_alt.c index b1fe3384..ca50f0db 100644 --- a/sound/soc/tegra-alt/tegra210_adsp_alt.c +++ b/sound/soc/tegra-alt/tegra210_adsp_alt.c @@ -80,7 +80,7 @@ struct adsp_event_nlmsg { #define ADSP_RESPONSE_TIMEOUT 1000 /* in ms */ /* ADSP controls plugin index */ #define PLUGIN_SET_PARAMS_IDX 1 -#define PLUGIN_SEND_BYTES_IDX 11 +#define PLUGIN_SEND_BYTES_IDX 21 static const unsigned int tegra210_adsp_rates[] = { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000