Commit 51ebf6ac authored by Flavio Suligoi's avatar Flavio Suligoi Committed by Mark Brown

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: default avatarFlavio Suligoi <f.suligoi@asem.it>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b5881b15
...@@ -1957,3 +1957,5 @@ static void __exit pxa2xx_spi_exit(void) ...@@ -1957,3 +1957,5 @@ static void __exit pxa2xx_spi_exit(void)
platform_driver_unregister(&driver); platform_driver_unregister(&driver);
} }
module_exit(pxa2xx_spi_exit); module_exit(pxa2xx_spi_exit);
MODULE_SOFTDEP("pre: dw_dmac");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment