lkml.org 
[lkml]   [2006]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] opl3sa2: fix adding second dma channel
At Wed, 25 Jan 2006 03:42:49 +0300,
Alexey Dobriyan wrote:
>
> dma2 is a global array. sprintf below suggests there was a typo.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Thanks, I applied both patches to ALSA tree.


Takashi

> ---
>
> sound/isa/opl3sa2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/sound/isa/opl3sa2.c
> +++ b/sound/isa/opl3sa2.c
> @@ -721,7 +721,7 @@ static int __devinit snd_opl3sa2_probe(s
> }
> sprintf(card->longname, "%s at 0x%lx, irq %d, dma %d",
> card->shortname, chip->port, xirq, xdma1);
> - if (dma2 >= 0)
> + if (xdma2 >= 0)
> sprintf(card->longname + strlen(card->longname), "&%d", xdma2);
>
> return snd_card_register(card);
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-25 15:33    [W:0.030 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site