dev_err(&pdev->dev, "Can't get our mod clock\n");
return PTR_ERR(i2s->mod_clk);
}
-----
+++++
+++++ if (quirks->has_reset) {
+++++ i2s->rst = devm_reset_control_get(&pdev->dev, NULL);
+++++ if (IS_ERR(i2s->rst)) {
+++++ dev_err(&pdev->dev, "Failed to get reset control\n");
+++++ return PTR_ERR(i2s->rst);
+++++ }
+++++ }
+++++
+++++ if (!IS_ERR(i2s->rst)) {
+++++ ret = reset_control_deassert(i2s->rst);
+++++ if (ret) {
+++++ dev_err(&pdev->dev,
+++++ "Failed to deassert the reset control\n");
+++++ return -EINVAL;
+++++ }
+++++ }
+++++
i2s->playback_dma_data.addr = res->start + SUN4I_I2S_FIFO_TX_REG;
----- i2s->playback_dma_data.maxburst = 4;
+++++ i2s->playback_dma_data.maxburst = 8;
i2s->capture_dma_data.addr = res->start + SUN4I_I2S_FIFO_RX_REG;
----- i2s->capture_dma_data.maxburst = 4;
+++++ i2s->capture_dma_data.maxburst = 8;
pm_runtime_enable(&pdev->dev);
if (!pm_runtime_enabled(&pdev->dev)) {