mirror of
https://github.com/adulau/aha.git
synced 2024-12-31 21:26:18 +00:00
ASoC: tlv320aic23: add DSP_A format support
Add DSP_A interface format support by setting the LRP bit in DSP mode. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
299a759203
commit
894bf92fde
1 changed files with 2 additions and 0 deletions
|
@ -523,6 +523,8 @@ static int tlv320aic23_set_dai_fmt(struct snd_soc_dai *codec_dai,
|
|||
case SND_SOC_DAIFMT_I2S:
|
||||
iface_reg |= TLV320AIC23_FOR_I2S;
|
||||
break;
|
||||
case SND_SOC_DAIFMT_DSP_A:
|
||||
iface_reg |= TLV320AIC23_LRP_ON;
|
||||
case SND_SOC_DAIFMT_DSP_B:
|
||||
iface_reg |= TLV320AIC23_FOR_DSP;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue