projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6837b8e
)
spi: rspi: Don't consider DMA configuration failures fatal
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Mon, 2 Jun 2014 13:38:08 +0000
(15:38 +0200)
committer
Mark Brown
<broonie@linaro.org>
Mon, 2 Jun 2014 14:49:33 +0000
(15:49 +0100)
Fall back to PIO if DMA configuration failed.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rspi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-rspi.c
b/drivers/spi/spi-rspi.c
index fdbd46d0c57012c68b35c38f9b9a038b4b87eee2..94a99ec7d989d682e3fe2424184f779aa97c8842 100644
(file)
--- a/
drivers/spi/spi-rspi.c
+++ b/
drivers/spi/spi-rspi.c
@@
-1190,10
+1190,8
@@
static int rspi_probe(struct platform_device *pdev)
}
ret = rspi_request_dma(rspi, pdev);
- if (ret < 0) {
- dev_err(&pdev->dev, "rspi_request_dma failed.\n");
- goto error3;
- }
+ if (ret < 0)
+ dev_warn(&pdev->dev, "DMA not available, using PIO\n");
ret = devm_spi_register_master(&pdev->dev, master);
if (ret < 0) {