Skip to content

Commit dd7a154

Browse files
authored
Update DAC8x to support 384khz (#6187)
Update rpi-simple-soundcard.c with 384kHz support.
1 parent dda83b1 commit dd7a154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/bcm/rpi-simple-soundcard.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,10 @@ static int hifiberry_dac8x_init(struct snd_soc_pcm_runtime *rtd)
324324
struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0);
325325

326326
/* override the defaults to reflect 4 x PCM5102A on the card
327-
* and limit the sample rate to 192ksps
327+
* and limit the sample rate to 384ksps
328328
*/
329329
codec_dai->driver->playback.channels_max = 8;
330-
codec_dai->driver->playback.rates = SNDRV_PCM_RATE_8000_192000;
330+
codec_dai->driver->playback.rates = SNDRV_PCM_RATE_8000_384000;
331331

332332
return 0;
333333
}

0 commit comments

Comments
 (0)