Re: [PATCH v2 31/41] ARM: s3c24xx: spi: avoid hardcoding fiq number in driver

2020-08-07 Thread Mark Brown
On Thu, Aug 06, 2020 at 08:20:48PM +0200, Krzysztof Kozlowski wrote: > From: Arnd Bergmann > > The IRQ_EINT0 constant is a platform detail that is > defined in mach/irqs.h and not visible to drivers once > that header is made private. Acked-by: Mark Brown signature.asc Description: PGP signat

[PATCH v2 31/41] ARM: s3c24xx: spi: avoid hardcoding fiq number in driver

2020-08-06 Thread Krzysztof Kozlowski
From: Arnd Bergmann The IRQ_EINT0 constant is a platform detail that is defined in mach/irqs.h and not visible to drivers once that header is made private. Since the same calculation already happens in s3c24xx_set_fiq, just return the value from there. Signed-off-by: Arnd Bergmann Signed-off-b