asoc: lpass-cdc: Fix digital volume range

Remove platform_max setting in WSA/WSA2 drivers
to correct the volume range for digital volume.

Change-Id: Ia87c9fbeacc7bbb37b02f707b5c624a4091251d9
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
This commit is contained in:
Sam Rainey
2023-01-12 10:40:21 -08:00
parent 71c0bf3900
commit 6b5e8148d4
2 changed files with 2 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ static int lpass_cdc_wsa2_macro_enable_vi_decimator(struct snd_soc_component *co
.put = lpass_cdc_wsa2_macro_set_digital_volume, \
.private_value = (unsigned long)&(struct soc_mixer_control) \
{.reg = xreg, .rreg = xreg, \
.min = xmin, .max = xmax, .platform_max = xmax, \
.min = xmin, .max = xmax, \
.sign_bit = 7,} }
struct lpass_cdc_wsa2_macro_swr_ctrl_platform_data {