[alsa-devel] [PATCH] es968: fix wrong PnP dma index

Takashi Iwai tiwai at suse.de
Mon Apr 26 09:06:25 CEST 2010


At Sun, 25 Apr 2010 13:12:45 +0200,
Krzysztof Helt wrote:
> 
> From: Krzysztof Helt <krzysztof.h1 at wp.pl>
> 
> There is only one dma for the ESS ES968 based board.
> Its index is 0 and not 1.
> 
> This make the es968 card working.
> 
> Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>

Applied now.  Thanks.


Takashi

> ---
>  sound/isa/sb/es968.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/isa/sb/es968.c b/sound/isa/sb/es968.c
> index cafc3a7..ff18286 100644
> --- a/sound/isa/sb/es968.c
> +++ b/sound/isa/sb/es968.c
> @@ -93,7 +93,7 @@ static int __devinit snd_card_es968_pnp(int dev, struct snd_card_es968 *acard,
>  		return err;
>  	}
>  	port[dev] = pnp_port_start(pdev, 0);
> -	dma8[dev] = pnp_dma(pdev, 1);
> +	dma8[dev] = pnp_dma(pdev, 0);
>  	irq[dev] = pnp_irq(pdev, 0);
>  
>  	return 0;
> -- 
> 1.6.4
> 


More information about the Alsa-devel mailing list