mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branch 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: sh: select ARCH_NO_SYSDEV_OPS. sh: fix build error in board-sh7757lcr.c sh: landisk: Remove whitespace sh: landisk: Remove mv_nr_irqs sh: sh-sci: Fix double initialization by serial_console_setup serial: sh-sci: prevent setup of uninitialized serial console dma: shdma: add checking the DMAOR_AE in sh_dmae_err
This commit is contained in:
commit
26cf445721
5 changed files with 22 additions and 18 deletions
|
|
@ -865,7 +865,12 @@ static unsigned int sh_dmae_reset(struct sh_dmae_device *shdev)
|
|||
|
||||
static irqreturn_t sh_dmae_err(int irq, void *data)
|
||||
{
|
||||
return IRQ_RETVAL(sh_dmae_reset(data));
|
||||
struct sh_dmae_device *shdev = data;
|
||||
|
||||
if (dmaor_read(shdev) & DMAOR_AE)
|
||||
return IRQ_RETVAL(sh_dmae_reset(data));
|
||||
else
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
static void dmae_do_tasklet(unsigned long data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue