Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88491386 authored by Ville Syrjala's avatar Ville Syrjala Committed by Jaroslav Kysela
Browse files

[ALSA] maestro3: Fix interrupt ack and disable



Maestro3 driver
Due to a typo interrupts were never actually acked or disabled.

Signed-off-by: default avatarVille Syrjala <syrjala@sci.fi>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent cb5a6ffc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1605,7 +1605,7 @@ snd_m3_interrupt(int irq, void *dev_id, struct pt_regs *regs)
#endif

	/* ack ints */
	snd_m3_outw(chip, HOST_INT_STATUS, status);
	outb(status, chip->iobase + HOST_INT_STATUS);

	return IRQ_HANDLED;
}
@@ -2367,7 +2367,7 @@ static int snd_m3_free(m3_t *chip)
		kfree(chip->substreams);
	}
	if (chip->iobase) {
		snd_m3_outw(chip, HOST_INT_CTRL, 0); /* disable ints */
		outw(0, chip->iobase + HOST_INT_CTRL); /* disable ints */
	}

#ifdef CONFIG_PM