[PATCH] ARM OMAP: Fix race in OMAP2/3 DMA IRQ handling

2009-01-21 Thread Juha Yrjölä
CSR must be cleared before invoking the callback. If the callback function starts a new, fast DMA transfer on the same channel, the completion status might lost if CSR is cleared after the callback invocation. Signed-off-by: Juha Yrjola --- arch/arm/plat-omap/dma.c |4 ++-- 1 files changed,

Re: [PATCH] ARM: OMAP: Add support for dynamic GPIO switch update

2008-12-15 Thread Juha Yrjölä
On Mon, Dec 15, 2008 at 04:52:32PM +0200, Jani Nikula wrote: > > Why do they need to be changed? GPIO switches related to the board > > schematics, > > which do not hopefully change dynamically. > > The switches themselves don't change (nor does this patch support > changing them), but different

Re: [PATCH] ARM: OMAP: Add support for dynamic GPIO switch update

2008-12-15 Thread Juha Yrjölä
On Mon, Dec 15, 2008 at 02:08:16PM +0200, Jani Nikula wrote: > Add new function omap_update_gpio_switch() to support dynamically > changing the GPIO switch notify callback functions and debounce > timeouts. Why do they need to be changed? GPIO switches related to the board schematics, which do no