diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2012-10-19 11:42:24 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-20 04:40:25 -0400 |
commit | fba30fd342beda8e7908f214d9e7f8a62dcdc57d (patch) | |
tree | 32d3fd98fb2cf308cab2bb14b5a82d58f5038ed9 /sound/pci/rme9652 | |
parent | 21a164df0c1c2e72d4bb78b2f67dc75a1c9d14fb (diff) |
ALSA: hdspm - Fix sync check reporting on all RME HDSPM cards
Due to missing breaks and the resulting fall-through, card subtype
selection was effectively missing, thus causing the wrong sync check
functions to be called.
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 1131a8ab3f73..81d83faab510 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -3959,6 +3959,7 @@ static int snd_hdspm_get_sync_check(struct snd_kcontrol *kcontrol, | |||
3959 | default: | 3959 | default: |
3960 | val = hdspm_s1_sync_check(hdspm, ucontrol->id.index-1); | 3960 | val = hdspm_s1_sync_check(hdspm, ucontrol->id.index-1); |
3961 | } | 3961 | } |
3962 | break; | ||
3962 | 3963 | ||
3963 | case AIO: | 3964 | case AIO: |
3964 | switch (kcontrol->private_value) { | 3965 | switch (kcontrol->private_value) { |
@@ -3971,6 +3972,7 @@ static int snd_hdspm_get_sync_check(struct snd_kcontrol *kcontrol, | |||
3971 | default: | 3972 | default: |
3972 | val = hdspm_s1_sync_check(hdspm, ucontrol->id.index-1); | 3973 | val = hdspm_s1_sync_check(hdspm, ucontrol->id.index-1); |
3973 | } | 3974 | } |
3975 | break; | ||
3974 | 3976 | ||
3975 | case MADI: | 3977 | case MADI: |
3976 | switch (kcontrol->private_value) { | 3978 | switch (kcontrol->private_value) { |
@@ -3983,6 +3985,7 @@ static int snd_hdspm_get_sync_check(struct snd_kcontrol *kcontrol, | |||
3983 | case 3: /* SYNC_IN */ | 3985 | case 3: /* SYNC_IN */ |
3984 | val = hdspm_sync_in_sync_check(hdspm); break; | 3986 | val = hdspm_sync_in_sync_check(hdspm); break; |
3985 | } | 3987 | } |
3988 | break; | ||
3986 | 3989 | ||
3987 | case MADIface: | 3990 | case MADIface: |
3988 | val = hdspm_madi_sync_check(hdspm); /* MADI */ | 3991 | val = hdspm_madi_sync_check(hdspm); /* MADI */ |
@@ -4000,6 +4003,7 @@ static int snd_hdspm_get_sync_check(struct snd_kcontrol *kcontrol, | |||
4000 | val = hdspm_aes_sync_check(hdspm, | 4003 | val = hdspm_aes_sync_check(hdspm, |
4001 | kcontrol->private_value-1); | 4004 | kcontrol->private_value-1); |
4002 | } | 4005 | } |
4006 | break; | ||
4003 | 4007 | ||
4004 | } | 4008 | } |
4005 | 4009 | ||