[PATCH] mtd: spi-nor: Ensure operation completion before shutdown
Pratyush Yadav
pratyush at kernel.org
Thu Oct 12 03:06:19 PDT 2023
On Thu, Oct 12 2023, Michael Walle wrote:
> Hi,
>
> Am 2023-10-12 07:51, schrieb Md Sadre Alam:
>> Ensure that there are no pending spi operation inprogress
>> when system halts.
>
> What operation might be in progress here? Did you encounter some problems?
> Please explain it in more detail in the commit message.
+1
Ideally we should never reach this function with a pending operation. I
think we should do a proper wait in the place we did the operation that
needs waiting rather than here. That would make sure operations other
than shutdown, like reads, also work properly.
--
Regards,
Pratyush Yadav
More information about the linux-mtd
mailing list