From 839e0137b42ff783aaee2c9ed13bf6a7a2d52023 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 16 Mar 2012 09:54:00 +0100 Subject: [PATCH] --- yaml --- r: 293148 b: refs/heads/master c: c6b76d1f02e2ab1109d8549877a3a24c6a2b4587 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/au88x0/au88x0_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 10808ec914d1..37adf6aed4a9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0717d0f5d2737a63650a8d928360769e0d411bd5 +refs/heads/master: c6b76d1f02e2ab1109d8549877a3a24c6a2b4587 diff --git a/trunk/sound/pci/au88x0/au88x0_core.c b/trunk/sound/pci/au88x0/au88x0_core.c index 1181c5ec2d4f..525f881f0409 100644 --- a/trunk/sound/pci/au88x0/au88x0_core.c +++ b/trunk/sound/pci/au88x0/au88x0_core.c @@ -2477,7 +2477,7 @@ static irqreturn_t vortex_interrupt(int irq, void *dev_id) hwread(vortex->mmio, VORTEX_IRQ_STAT); handled = 1; } - if (source & IRQ_MIDI) { + if ((source & IRQ_MIDI) && vortex->rmidi) { snd_mpu401_uart_interrupt(vortex->irq, vortex->rmidi->private_data); handled = 1;