ASoC: dwc: Remove check in set_bclk_ratio handling
authorPhil Elwell <phil@raspberrypi.com>
Mon, 20 Nov 2023 15:17:34 +0000 (15:17 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:14 +0000 (11:35 +0000)
commitcbf2498792f9510a049f86b0632be96c2a63b3a6
tree8aa1ea487b33cee0a84172ea436e1cf04fe7f0e5
parent5f123c313604a8f3a2cc3067376e600022425da6
ASoC: dwc: Remove check in set_bclk_ratio handling

A check added to dw_i2s_set_bclk_ratio that the data format is
consistent with the ratio seems reasonable but breaks when the
ratio is changed before the format. Remove the check - it is
unnecessary.

See: https://github.com/raspberrypi/linux/issues/5724
Fixes: 9c6694c24f26 ("ASOC: dwc: Fix 16-bit audio handling")

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
sound/soc/dwc/dwc-i2s.c