ASoC: DACplusADCPro - fix 16bit sample support in clock consumer mode
authorJoerg Schambacher <joerg@hifiberry.com>
Fri, 2 Feb 2024 07:51:06 +0000 (08:51 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:36 +0000 (11:35 +0000)
commit125ba46e5b36f7dfb56e2e8e969e841614189a8f
treef1f5a3c92ccdd31735346e6005ef25ac608dbce1
parente2bc3642a29a268f9288c195b88eebfad9454010
ASoC: DACplusADCPro - fix 16bit sample support in clock consumer mode

The former code did not adjust the physical sample width when in
clock consumer mode and has taken the fixed 32 bit default. This
has caused the audio to be played at half its frequency due to
the fixed bclk_ratio of 64.

Problem appears only on PI5 as on the former PIs the I2S module
did simply run at fixed 64x rate.

Signed-off-by: Joerg Schambacher <joerg@hifiberry.com>
sound/soc/bcm/hifiberry_dacplusadcpro.c