Re: [PATCH] spi: imx: enable runtime pm support
From: nikita.shubin@xxxxxxxxxxx
Date: Fri Nov 13 2020 - 07:11:55 EST
Hi Fabio,
Apllied on the top of
Revert "spi: imx: Fix freeing of DMA channels if spi_bitbang_start() fails"
This reverts commit 9e68d974b2fd4977e896e166656c36e2f80293d6.
Still experiencing the same issue:
[ 4.322131] inv-mpu6000-spi spi2.0: I/O Error in PIO
[ 4.329353] inv-mpu6000-spi spi2.0: SPI transfer failed: -110
[ 4.391504] spi_master spi2: failed to transfer one message from queue
I have config CONFIG_PM=y.
13.11.2020, 14:26, "Fabio Estevam" <festevam@xxxxxxxxx>:
> Hi Nikita,
>
> On Fri, Nov 13, 2020 at 6:18 AM Nikita Shubin <nikita.shubin@xxxxxxxxxxx> wrote:
>> Hello Clark,
>>
>> This patch breaks spi-imx on imx7d.
>> Toradex Colibri imx7d spi reports with:
>>
>> [ 4.258468] inv-mpu6000-spi spi2.0: I/O Error in PIO
>> [ 4.264269] inv-mpu6000-spi spi2.0: SPI transfer failed: -110
>> [ 4.264305] spi_master spi2: failed to transfer one message from queue
>>
>> We are using spi-imx with dma.
>>
>> Reverting your patch fixes this issue.
>>
>> The baseline commit 951cbbc386ff01b50da4f46387e994e81d9ab431 (tag: v5.9.8, stable/linux-5.9.y)
>>
>> Could you please give some comments on this issue ?
>
> Could you please try this patch from Sascha?
> https://lkml.org/lkml/2020/10/12/981