ASoC: DACplus - fix 16bit sample support in clock consumer mode
authorJoerg Schambacher <joerg@hifiberry.com>
Thu, 1 Feb 2024 16:32:44 +0000 (17:32 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:35 +0000 (11:35 +0000)
commitf8af944b18d253cf9f85ea1b7c3e676800785f7e
tree181900c4878ae1d28c0515428381599bfb710a6b
parent4314cf964f5ad51f83e5a6077c8bf2a7289535ea
ASoC: DACplus - 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.

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