spi/spi-atmel: add flag to controller data for lock operations
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 3 Apr 2013 05:58:36 +0000 (13:58 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Apr 2013 18:30:19 +0000 (19:30 +0100)
Will allow to drop the lock during DMA operations.

Replacing non-irqsave versions with irqsave versions of the lock
to make it correct in both pdc and dmaengine transfer mode

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
[wenyou.yang@atmel.com: submit the patch]
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-atmel.c

Simple merge