ASoC: cs42l73: Fix mask for setting CS42L73_SP_3ST bit
CS42L73_SP_3ST is BIT(7), so the mask field is wrong. Fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
bc0195aad0
commit
8626e5eb6c
@ -1236,8 +1236,8 @@ static int cs42l73_set_tristate(struct snd_soc_dai *dai, int tristate)
|
|||||||
struct snd_soc_codec *codec = dai->codec;
|
struct snd_soc_codec *codec = dai->codec;
|
||||||
int id = dai->id;
|
int id = dai->id;
|
||||||
|
|
||||||
return snd_soc_update_bits(codec, CS42L73_SPC(id),
|
return snd_soc_update_bits(codec, CS42L73_SPC(id), CS42L73_SP_3ST,
|
||||||
0x7F, tristate << 7);
|
tristate << 7);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct snd_pcm_hw_constraint_list constraints_12_24 = {
|
static const struct snd_pcm_hw_constraint_list constraints_12_24 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user