msm: audio: qdsp6v2: Enable soft volume command to avoid noise

Add support for soft volume command and enable it to avoid
noise during volume change sequence

CRs-fixed: 304164
Signed-off-by: Swaminathan Sathappan <Swami@codeaurora.org>
diff --git a/include/sound/apr_audio.h b/include/sound/apr_audio.h
index 27dbfec..514b001 100644
--- a/include/sound/apr_audio.h
+++ b/include/sound/apr_audio.h
@@ -517,6 +517,7 @@
 #define L_R_CHANNEL_GAIN_PARAM_ID	0x00010c00
 #define MUTE_CONFIG_PARAM_ID 0x00010c01
 #define SOFT_PAUSE_PARAM_ID 0x00010D6A
+#define SOFT_VOLUME_PARAM_ID 0x00010C29
 
 #define IIR_FILTER_ENABLE_PARAM_ID 0x00010c03
 #define IIR_FILTER_PREGAIN_PARAM_ID 0x00010c04
diff --git a/include/sound/q6asm.h b/include/sound/q6asm.h
index 13e2846..b864f2f 100644
--- a/include/sound/q6asm.h
+++ b/include/sound/q6asm.h
@@ -241,6 +241,10 @@
 int q6asm_set_softpause(struct audio_client *ac,
 			struct asm_softpause_params *param);
 
+/* Set Softvolume Params */
+int q6asm_set_softvolume(struct audio_client *ac,
+			struct asm_softvolume_params *param);
+
 /* Send left-right channel gain */
 int q6asm_set_lrgain(struct audio_client *ac, int left_gain, int right_gain);