linux_dsm_epyc7002/include/linux/amba
Russell King - ARM Linux c370e594ef ARM: PL08x: fix locking between prepare function and submit function
The PL08x driver holds on to the channel lock with interrupts disabled
between the prepare and the subsequent submit API functions.  This
means that the locking state when the prepare function returns is
dependent on whether it suceeeds or not.

It did this to ensure that the physical channel wasn't released, and
as it used to add the descriptor onto the pending list at prepare time
rather than submit time.

Now that we have reorganized the code to remove those reasons, we can
now safely release the spinlock at the end of preparation and reacquire
it in our submit function.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2011-01-04 19:16:14 -08:00
..
bus.h ARM: 6368/1: move the PrimeCell IDs to use macros 2010-10-08 10:02:27 +01:00
clcd.h VIDEO: amba clcd: don't disable an already disabled clock 2010-08-17 22:15:09 +01:00
kmi.h [ARM] Move AMBA include files to include/linux/amba/ 2006-01-07 13:52:45 +00:00
mmci.h ARM: 6307/1: mmci: allow the card detect GPIO value not to be inverted 2010-08-26 19:54:27 +01:00
pl08x.h ARM: PL08x: fix locking between prepare function and submit function 2011-01-04 19:16:14 -08:00
pl022.h spi/pl022: get rid of chipinfo dev pointer 2010-10-12 21:37:37 -06:00
pl061.h ARM: 6003/1: removing compilation warning from pl061.h 2010-03-29 17:33:33 +01:00
pl093.h ARM: PL093: Header file for PL093 SSMC PrimeCell 2009-07-30 23:22:54 +01:00
pl330.h DMA: PL330: Add dma api driver 2010-05-23 20:28:19 -07:00
serial.h ARM: 6421/1: amba-pl011: add missing ST specific registers 2010-10-11 23:03:48 +01:00