diff options
author | 2019-04-10 14:51:36 +0200 | |
---|---|---|
committer | 2019-05-02 10:37:47 +0900 | |
commit | 51ebf6acb00fa6f965e600f848bee5bddddd2054 (patch) | |
tree | 964bfe0aceda093a1c9b810c785e7c47fa0dae64 /drivers/spi/spi-pxa2xx.c | |
parent | spi: spi-mem: Make spi_mem_default_supports_op() static inline (diff) | |
download | linux-51ebf6acb00fa6f965e600f848bee5bddddd2054.tar.gz linux-51ebf6acb00fa6f965e600f848bee5bddddd2054.tar.bz2 linux-51ebf6acb00fa6f965e600f848bee5bddddd2054.zip |
spi: pxa2xx: use a module softdep for dw_dmac
With dw_dmac, sometimes the request of a DMA channel fails because
the DMA driver is not ready, so an explicit dependency request
is necessary.
Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
-rw-r--r-- | drivers/spi/spi-pxa2xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index f7068ccfe7d2..3e6811ef37e8 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -1957,3 +1957,5 @@ static void __exit pxa2xx_spi_exit(void) platform_driver_unregister(&driver); } module_exit(pxa2xx_spi_exit); + +MODULE_SOFTDEP("pre: dw_dmac"); |