Skip to content

Commit fa93fc9

Browse files
j-schambacherpopcornmix
authored andcommitted
Fix master mode settings of HiFiBerry DAC+ADC PRO card (#3424)
This patch fixes the board DAI setting when in master-mode. Wrong setting could have caused random pop noise. Signed-off-by: Joerg Schambacher <[email protected]>
1 parent 2c1a5da commit fa93fc9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/soc/bcm/hifiberry_dacplusadcpro.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ static int snd_rpi_hifiberry_dacplusadcpro_init(struct snd_soc_pcm_runtime *rtd)
285285

286286
dai->name = "HiFiBerry DAC+ADC Pro";
287287
dai->stream_name = "HiFiBerry DAC+ADC Pro HiFi";
288+
dai->dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
289+
| SND_SOC_DAIFMT_CBM_CFM;
288290

289291
// set DAC DAI configuration
290292
ret = snd_soc_dai_set_fmt(rtd->codec_dais[0],

0 commit comments

Comments
 (0)