On Wed, Dec 13, 2017 at 04:50:33PM +0100, Nicolas Chauvet wrote: > This avoid the following error when using an initramfs on wandboard quad > Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2 Are you sure this fixes with latest kernel as the firmware in kernel has been removed with commit 5620a0d1aacd: ("firmware: delete in-kernel firmware") > Signed-off-by: Nicolas Chauvet <kwizart@xxxxxxxxx> > --- > drivers/dma/imx-sdma.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c > index 2184881afe76..e7db24c67030 100644 > --- a/drivers/dma/imx-sdma.c > +++ b/drivers/dma/imx-sdma.c > @@ -1939,4 +1939,10 @@ module_platform_driver(sdma_driver); > > MODULE_AUTHOR("Sascha Hauer, Pengutronix <s.hauer@xxxxxxxxxxxxxx>"); > MODULE_DESCRIPTION("i.MX SDMA driver"); > +#if IS_ENABLED(CONFIG_SOC_IMX6Q) > +MODULE_FIRMWARE("imx/sdma/sdma-imx6q.bin"); > +#endif > +#if IS_ENABLED(CONFIG_SOC_IMX7D) > +MODULE_FIRMWARE("imx/sdma/sdma-imx7d.bin"); > +#endif > MODULE_LICENSE("GPL"); > -- > 2.13.6 > -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html