mmc: sdhci: Mask "spurious" interrupts
authorPhil Elwell <phil@raspberrypi.org>
Fri, 28 Sep 2018 15:24:05 +0000 (16:24 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:32:55 +0000 (16:32 +0100)
commit187f40874b37890da6c70f1161278e99c59b8450
tree285e6b2caca60c65f8f8a16f47545d483b6bd730
parent467e45d3603675fa56b3992778e9c39cace96cf9
mmc: sdhci: Mask "spurious" interrupts

Add a filter for "spurious" Transfer Complete interrupts, attempting
to make it as specific as possible:
* INT_DATA_END (transfer complete) is set
* There is a stop command in progress
* There is no data transfer in progress

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/mmc/host/sdhci.c