mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
asoc: Fix App Type Gain can`t work proper
App Type Gain command does not work due to max value Change-Id: I27a7e4cf22e6b53650e1b51af65c7aadafa064dc Signed-off-by: ftong <quic_ftong@quicinc.com>
This commit is contained in:
parent
5be9ed037a
commit
2068734c27
2 changed files with 2 additions and 2 deletions
|
|
@ -25219,7 +25219,7 @@ static const struct snd_kcontrol_new app_type_cfg_controls[] = {
|
|||
0x7FFFFFFF, 0, 128, msm_routing_get_app_type_cfg_control,
|
||||
msm_routing_put_app_type_cfg_control),
|
||||
SOC_SINGLE_MULTI_EXT("App Type Gain", SND_SOC_NOPM, 0,
|
||||
0x2000, 0, 4, NULL, msm_routing_put_app_type_gain_control)
|
||||
0x7FFFFFFF, 0, 4, NULL, msm_routing_put_app_type_gain_control)
|
||||
};
|
||||
|
||||
static int msm_routing_put_module_cfg_control(struct snd_kcontrol *kcontrol,
|
||||
|
|
|
|||
|
|
@ -32053,7 +32053,7 @@ static const struct snd_kcontrol_new app_type_cfg_controls[] = {
|
|||
0x7FFFFFFF, 0, 128, msm_routing_get_app_type_cfg_control,
|
||||
msm_routing_put_app_type_cfg_control),
|
||||
SOC_SINGLE_MULTI_EXT("App Type Gain", SND_SOC_NOPM, 0,
|
||||
0x2000, 0, 4, NULL, msm_routing_put_app_type_gain_control)
|
||||
0x7FFFFFFF, 0, 4, NULL, msm_routing_put_app_type_gain_control)
|
||||
};
|
||||
|
||||
static int msm_routing_put_module_cfg_control(struct snd_kcontrol *kcontrol,
|
||||
|
|
|
|||
Loading…
Reference in a new issue