Skip to content

Commit 51ebf6a

Browse files
flavio-suligoibroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent b5881b1 commit 51ebf6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/spi/spi-pxa2xx.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,3 +1957,5 @@ static void __exit pxa2xx_spi_exit(void)
19571957
platform_driver_unregister(&driver);
19581958
}
19591959
module_exit(pxa2xx_spi_exit);
1960+
1961+
MODULE_SOFTDEP("pre: dw_dmac");

0 commit comments

Comments
 (0)