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

Commit ba8c3c37 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela
Browse files

[ALSA] ali5451 - Fix invalid type of codec->irq field



The irq field of struct snd_ali shouldn't be unsigned since it's
uninitialized value is -1.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 807a4636
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ struct snd_ali_image {


struct snd_ali {
	unsigned long	irq;
	int		irq;
	unsigned long	port;
	unsigned char	revision;

@@ -2343,7 +2343,7 @@ static int __devinit snd_ali_probe(struct pci_dev *pci,
	strcpy(card->driver, "ALI5451");
	strcpy(card->shortname, "ALI 5451");
	
	sprintf(card->longname, "%s at 0x%lx, irq %li",
	sprintf(card->longname, "%s at 0x%lx, irq %i",
		card->shortname, codec->port, codec->irq);

	snd_ali_printk("register card.\n");