diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-09-17 11:48:49 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-09-17 15:47:44 +0200 |
commit | 784d7f0251cfd01e12f55776bf858198ff606e3c (patch) | |
tree | 0dd008c20c22f723812d1ae48658c65881bba09c /target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch | |
parent | 92511d21cc902cdd4e8ec4ab705f376698f11fec (diff) | |
download | upstream-784d7f0251cfd01e12f55776bf858198ff606e3c.tar.gz upstream-784d7f0251cfd01e12f55776bf858198ff606e3c.tar.bz2 upstream-784d7f0251cfd01e12f55776bf858198ff606e3c.zip |
kernel: bump 4.9 to 4.9.127
Refreshed all patches.
Compile-tested on: ar71xx
Runtime-tested on: ar71xx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch b/target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch index 22904eec9d..b798a366b0 100644 --- a/target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch +++ b/target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch @@ -402,10 +402,10 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> + goto out_master_put; } - dspi_init(dspi); + dspi->clk = devm_clk_get(&pdev->dev, "dspi"); @@ -740,6 +1031,13 @@ static int dspi_probe(struct platform_de - if (ret) - goto out_master_put; + goto out_clk_put; + } + if (dspi->devtype_data->trans_mode == DSPI_DMA_MODE) { + if (dspi_request_dma(dspi, res->start)) { |