Re: [PATCH v2 02/15] spi/xilinx: Leave the IRQ always enabled.

From: Mark Brown
Date: Wed Jan 28 2015 - 20:33:00 EST


On Wed, Jan 28, 2015 at 01:23:41PM +0100, Ricardo Ribalda Delgado wrote:
> Instead of enabling the IRQ and disabling it for every transaction.
>
> Specially the small transactions (1,2 words) benefit from removing 3 bus
> accesses.

For this particular change I don't think it matters but in general
moving things that do need to be enabled and disabled to
{un,}prepare_transfer_hardware() will avoid quite a bit of overhead
under load.

Attachment: signature.asc
Description: Digital signature