diff options
Diffstat (limited to 'sound/isa/sb/sb_mixer.c')
-rw-r--r-- | sound/isa/sb/sb_mixer.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sound/isa/sb/sb_mixer.c b/sound/isa/sb/sb_mixer.c index 6496822c1808..1ff78ec9f0ac 100644 --- a/sound/isa/sb/sb_mixer.c +++ b/sound/isa/sb/sb_mixer.c | |||
@@ -818,12 +818,14 @@ int snd_sbmixer_new(struct snd_sb *chip) | |||
818 | return err; | 818 | return err; |
819 | break; | 819 | break; |
820 | case SB_HW_DT019X: | 820 | case SB_HW_DT019X: |
821 | if ((err = snd_sbmixer_init(chip, | 821 | err = snd_sbmixer_init(chip, |
822 | snd_dt019x_controls, | 822 | snd_dt019x_controls, |
823 | ARRAY_SIZE(snd_dt019x_controls), | 823 | ARRAY_SIZE(snd_dt019x_controls), |
824 | snd_dt019x_init_values, | 824 | snd_dt019x_init_values, |
825 | ARRAY_SIZE(snd_dt019x_init_values), | 825 | ARRAY_SIZE(snd_dt019x_init_values), |
826 | "DT019X")) < 0) | 826 | "DT019X"); |
827 | if (err < 0) | ||
828 | return err; | ||
827 | break; | 829 | break; |
828 | default: | 830 | default: |
829 | strcpy(card->mixername, "???"); | 831 | strcpy(card->mixername, "???"); |