diff options
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/au88x0/au88x0.c | 3 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index b8bc11556ed0..f13ad536b2d5 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c | |||
@@ -274,7 +274,8 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) | |||
274 | return err; | 274 | return err; |
275 | } | 275 | } |
276 | // ADB pcm. | 276 | // ADB pcm. |
277 | if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) { | 277 | err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_PCM); |
278 | if (err < 0) { | ||
278 | snd_card_free(card); | 279 | snd_card_free(card); |
279 | return err; | 280 | return err; |
280 | } | 281 | } |
diff --git a/sound/pci/au88x0/au88x0.h b/sound/pci/au88x0/au88x0.h index 02f6e08f7592..bb938153a964 100644 --- a/sound/pci/au88x0/au88x0.h +++ b/sound/pci/au88x0/au88x0.h | |||
@@ -105,6 +105,7 @@ | |||
105 | #define MIX_SPDIF(x) (vortex->mixspdif[x]) | 105 | #define MIX_SPDIF(x) (vortex->mixspdif[x]) |
106 | 106 | ||
107 | #define NR_WTPB 0x20 /* WT channels per each bank. */ | 107 | #define NR_WTPB 0x20 /* WT channels per each bank. */ |
108 | #define NR_PCM 0x10 | ||
108 | 109 | ||
109 | /* Structs */ | 110 | /* Structs */ |
110 | typedef struct { | 111 | typedef struct { |