diff options
author | Mark Brown <broonie@kernel.org> | 2020-10-09 18:01:22 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-09 18:01:22 +0300 |
commit | 988731181359efd771ae967f94936906fa38868a (patch) | |
tree | 49b5aee659fe3686d1f40374ecd36136d0d2f836 /drivers/spi/spi-imx.c | |
parent | d4f3a651ab82685c63e6fb38bec20b3ccf08c085 (diff) | |
parent | 855a40cd8cccfbf5597adfa77f55cdc8c44b6e42 (diff) | |
download | linux-988731181359efd771ae967f94936906fa38868a.tar.xz |
Merge remote-tracking branch 'spi/for-5.10' into spi-next
Diffstat (limited to 'drivers/spi/spi-imx.c')
-rw-r--r-- | drivers/spi/spi-imx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c index e38e5ad3c706..060b1f5c9b04 100644 --- a/drivers/spi/spi-imx.c +++ b/drivers/spi/spi-imx.c @@ -1503,6 +1503,8 @@ static int spi_imx_transfer(struct spi_device *spi, { struct spi_imx_data *spi_imx = spi_master_get_devdata(spi->master); + transfer->effective_speed_hz = spi_imx->spi_bus_clk; + /* flush rxfifo before transfer */ while (spi_imx->devtype_data->rx_available(spi_imx)) readl(spi_imx->base + MXC_CSPIRXDATA); @@ -1695,7 +1697,7 @@ static int spi_imx_probe(struct platform_device *pdev) goto out_runtime_pm_put; if (ret < 0) - dev_err(&pdev->dev, "dma setup error %d, use pio\n", + dev_dbg(&pdev->dev, "dma setup error %d, use pio\n", ret); } @@ -1710,8 +1712,6 @@ static int spi_imx_probe(struct platform_device *pdev) goto out_bitbang_start; } - dev_info(&pdev->dev, "probed\n"); - pm_runtime_mark_last_busy(spi_imx->dev); pm_runtime_put_autosuspend(spi_imx->dev); |