Removed double spinlocking with omap15xx devices. Thanks for the Jian
Zhang for reporting this one.
Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
unsigned int dma_size;
unsigned int offset;
int ret;
- unsigned long flags;
ADEBUG();
runtime = substream->runtime;
* (invocation of callback_omap_alsa_sound_dma() method).
*/
if (cpu_is_omap15xx()) {
- spin_lock_irqsave(&s->dma_lock, flags);
omap_stop_alsa_sound_dma(s);
- spin_unlock_irqrestore(&s->dma_lock, flags);
}
ret = omap_start_alsa_sound_dma(s,
(dma_addr_t)runtime->dma_area + offset,