aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2005-01-03 13:28:17 +0100
committerJaroslav Kysela <perex@suse.cz>2005-01-03 13:28:17 +0100
commitadfb4710942a919b9345521d5e6244a6cffadccb (patch)
treeb0ef3b960446f96b389172986fa1cc3b9667767e /sound
parent018e8542ef0977160a0b3e6dd3244f2c8aa98954 (diff)
downloadhistory-adfb4710942a919b9345521d5e6244a6cffadccb.tar.gz
[ALSA] Fix invalid 'AutoSync Reference' value
RME HDSP driver The value returned by controllers for control number 14 ('AutoSync Reference') is incorrect and different from that reported by doing a cat /proc/asound/card0/hdsp. The value reported is not 'AutoSync Reference' but 'Preferred Sync Reference' instead. Signed-off-by: Remy Bruno <remy.bruno@trinnov.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/rme9652/hdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index a730a19c488376..50cf7f7896f1e4 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -2729,7 +2729,7 @@ static int snd_hdsp_get_autosync_ref(snd_kcontrol_t * kcontrol, snd_ctl_elem_val
{
hdsp_t *hdsp = snd_kcontrol_chip(kcontrol);
- ucontrol->value.enumerated.item[0] = hdsp_pref_sync_ref(hdsp);
+ ucontrol->value.enumerated.item[0] = hdsp_autosync_ref(hdsp);
return 0;
}