aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch
diff options
context:
space:
mode:
authorStijn Segers <foss@volatilesystems.org>2018-09-16 17:28:53 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-09-17 15:47:44 +0200
commitb4f672c1f986c279853353868ff4bcb5f673ff0e (patch)
tree871b1ff080479b089ccc15b8a4aa05ec53debd70 /target/linux/layerscape/patches-4.9/815-spi-support-layerscape.patch
parent4f6ad3c13ace1d341179ad82f417aa0ce5adf51d (diff)
downloadupstream-b4f672c1f986c279853353868ff4bcb5f673ff0e.tar.gz
upstream-b4f672c1f986c279853353868ff4bcb5f673ff0e.tar.bz2
upstream-b4f672c1f986c279853353868ff4bcb5f673ff0e.zip
kernel: bump 4.9 to 4.9.127 for 18.06
Refreshes patches and bumps 4.9 kernel to 4.9.127 for OpenWrt 18.06. Compile-tested on ar71xx. Signed-off-by: Stijn Segers <foss@volatilesystems.org>
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.patch6
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)) {