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>
This commit is contained in:
Flavio Suligoi 2019-04-10 14:51:36 +02:00 committed by Mark Brown
parent b5881b153b
commit 51ebf6acb0
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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");