Skip to content

Commit c20fbd0

Browse files
TE-N-ShengjiuWanggregkh
authored andcommitted
ASoC: fsl_easrc: Fix value type in fsl_easrc_iec958_get_bits()
[ Upstream commit aa21fe4 ] The value type of controls "Context 0 IEC958 Bits Per Sample" should be integer, not enumerated, the issue is found by the mixer-test. Fixes: 955ac62 ("ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers") Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://patch.msgid.link/20260401094226.2900532-11-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 32abd01 commit c20fbd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/fsl/fsl_easrc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static int fsl_easrc_iec958_get_bits(struct snd_kcontrol *kcontrol,
7373
struct soc_mreg_control *mc =
7474
(struct soc_mreg_control *)kcontrol->private_value;
7575

76-
ucontrol->value.enumerated.item[0] = easrc_priv->bps_iec958[mc->regbase];
76+
ucontrol->value.integer.value[0] = easrc_priv->bps_iec958[mc->regbase];
7777

7878
return 0;
7979
}

0 commit comments

Comments
 (0)