ALSA: sound/atmel/ac97c.c: Fix device index for pcm
authorAlexander Stein <alexanders83@web.de>
Fri, 5 Dec 2014 14:42:54 +0000 (15:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Dec 2014 16:40:37 +0000 (17:40 +0100)
commitca460cc250aa9d5255b3e2469ca0abad5d136233
tree2c5dc967b5b1493064fc58a03a011d6c69f35f12
parent5395103dcc709d87f08edaecb786fc37781f3b22
ALSA: sound/atmel/ac97c.c: Fix device index for pcm

chip->pdev->id is -1 by default. This is an invalid index resulting in
device file names like /dev/snd/pcmC0D-1p.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/atmel/ac97c.c