diff --git a/sound/soc/dwc/dwc-i2s.c b/sound/soc/dwc/dwc-i2s.c index c278759e9a6b32..4625c649fc91e9 100644 --- a/sound/soc/dwc/dwc-i2s.c +++ b/sound/soc/dwc/dwc-i2s.c @@ -427,11 +427,8 @@ static int dw_i2s_set_bclk_ratio(struct snd_soc_dai *cpu_dai, unsigned int ratio) { struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(cpu_dai); - struct i2s_clk_config_data *config = &dev->config; dev_dbg(dev->dev, "%s(%d)\n", __func__, ratio); - if (ratio < config->data_width * 2) - return -EINVAL; switch (ratio) { case 32: