[alsa-devel] [PATCH 1/2] es1968: Clear interrupts before enabling them
Takashi Iwai
tiwai at suse.de
Sat May 8 11:52:46 CEST 2010
At Fri, 7 May 2010 00:12:12 +0300,
Ville Syrjala wrote:
>
> From: Ville Syrjälä <syrjala at sci.fi>
>
> Avoid spurious interrupts when initializing the device.
>
> Signed-off-by: Ville Syrjälä <syrjala at sci.fi>
Applied both patches now. Thanks.
Takashi
> ---
> sound/pci/es1968.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c
> index aa973ce..23a58f0 100644
> --- a/sound/pci/es1968.c
> +++ b/sound/pci/es1968.c
> @@ -2401,6 +2401,7 @@ static void snd_es1968_start_irq(struct es1968 *chip)
> w = ESM_HIRQ_DSIE | ESM_HIRQ_HW_VOLUME;
> if (chip->rmidi)
> w |= ESM_HIRQ_MPU401;
> + outb(w, chip->io_port + 0x1A);
> outw(w, chip->io_port + ESM_PORT_HOST_IRQ);
> }
>
> --
> 1.6.4.4
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
More information about the Alsa-devel
mailing list