Re: [PATCH 3/3] spi: s3c64xx: support interrupt based pio mode
From: Mark Brown
Date: Tue Apr 04 2023 - 08:58:30 EST
On Tue, Apr 04, 2023 at 03:00:11PM +0900, Jaewon Kim wrote:
> This patch adds IRQ based PIO mode instead of cpu polling.
> By using the FIFO trigger level, interrupts are received.
> CPU consumption is reduced in PIO mode because registers are not
> constantly checked.
Is there some lower limit where it's still worth using polling, for
example for just one or two bytes like a register address? Taking an
interrupt isn't free...
Attachment:
signature.asc
Description: PGP signature