[PATCH 3/4] mmc: pxamci: Disable DATA_TRAN_DONE interrupt sooner
Petr Cvek
petr.cvek at tul.cz
Thu Apr 20 19:37:04 EDT 2017
Dne 19.4.2017 v 21:14 Robert Jarzmik napsal(a):
> Petr Cvek <petr.cvek at tul.cz> writes:
>
>> Disable the DATA_TRAN_DONE interrupt as soon as possible in the handler.
> Yeah, but why, please explain.
> If that's only to "reduce" the race occurrence, then I'd rather have this patch
> dropped. Otherwise if there is a compelling reason let's see ...
>
I created it during researching where put the IRQ enable in the callback and then I left it that way the data done interrupt will be disabled if there was an error at the beginning of the pxamci_data_done().
I dropped the patch and re-tested and it works (in the case the tests at the start of the pxamci_data_done() fail there will be probably some irq hell though :-D).
> Cheers.
>
More information about the linux-arm-kernel
mailing list