Re: [PATCH RFC 15/18] spi: bcm2835: enable shared interrupt support
From: Stefan Wahren <wahrenst@gmx.net>
Date: 2019-07-18 17:54:10
From: Stefan Wahren <wahrenst@gmx.net>
Date: 2019-07-18 17:54:10
Hi Mark, Am 18.07.19 um 14:42 schrieb Mark Brown:
On Wed, Jul 17, 2019 at 11:16:01PM +0200, Stefan Wahren wrote:quoted
+ /* check if we got interrupt enabled */ + if (!(bcm2835_rd(bs, BCM2835_SPI_CS) & BCM2835_SPI_CS_INTR)) + return IRQ_NONE; +Is that checking if the interrupt is enabled or if it is asserted?
the BCM2835 doesn't provide a SPI register, which shows that the interrupt has been asserted. So i think, Martin tried to adapt the workaround from spi-bcm2835-aux which has the same problem. Stefan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel