Skip to content

Commit

Permalink
ASoC: dwc: Permit sample rates up to 384kHz
Browse files Browse the repository at this point in the history
The BCM2835 I2S block advertises clock rates up to 384kHz, and there's
no reason why RP1's DWC I2S block shouldn't do the same.

See: #5748

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Nov 27, 2023
1 parent 08c5904 commit 6fac5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/dwc/dwc-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ static int dw_configure_dai_by_dt(struct dw_i2s_dev *dev,
if (WARN_ON(idx >= ARRAY_SIZE(bus_widths)))
return -EINVAL;

ret = dw_configure_dai(dev, dw_i2s_dai, SNDRV_PCM_RATE_8000_192000);
ret = dw_configure_dai(dev, dw_i2s_dai, SNDRV_PCM_RATE_8000_384000);
if (ret < 0)
return ret;

Expand Down

0 comments on commit 6fac5d5

Please sign in to comment.