On 2020/07/23 19:52 Frieder Schrempf <frieder.schrempf@xxxxxxxxxx> wrote: > > > The warning log comes out during spi > > transfer start and sdma firmware loading done, but if sdma driver > > building as module could ensure firmware loading done in > > sdma_driver_probe_phase-> spi_imx_probe_phase, which means sdma > > firmware loading has been ready before spi transfer start, hence no such > warning message. > > > > But I am not sure if all client drivers except spi are in good shape > > to support ' CONFIG_IMX_SDMA=m '. > > I'm pretty sure that CONFIG_IMX_SDMA=m is supported and common. > Otherwise it wouldn't be an option in Kconfig. Sorry, I mean other drivers using sdma such as audio/uart..etc, I know sdma driver support to build as module. But I'm not sure if there are some potential issues here with changing to sdma module. For now, could we just leave it for another patch whatever it's better solution or not? > > > Besides, do you think 'dev_err_once ' instead of 'dev_err' is okay for you? > > I can't really judge if this is a proper fix as I haven't looked at the code in detail, > but if you want to use dev_err_once(), that would be ok for me, maybe even > better dev_warn_once(). > As chances are that even without firmware transfers will work a warning > instead of an error makes more sense to me. Okay, I'll change it in later version. Anyway, thanks for your test.