RE: [PATCH v7 RESEND 07/13] spi: imx: fix ERR009165

From: Robin Gong
Date: Wed May 13 2020 - 04:52:47 EST


On 2020/05/13 16:48 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
> On Wed, May 13, 2020 at 08:38:26AM +0000, Robin Gong wrote:
> > On 2020/05/13 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
> > > This patch is the one bisecting will end up with when somebody uses
> > > an older SDMA firmware or the ROM scripts. It should have a better
> > > description what happens and what should be done about it.
> > Emm..That's true. Timeout will be caught in such case, hence, maybe we can
> fall back it to pio always.
>
> With my patch applied sdma_load_context() will fail. I don't know how exactly
> this hits into the SPI driver, but it won't be a timeout.
Thanks for your quick test, assume you use ROM firmware, right?