Commit adfb4710 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[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: default avatarRemy Bruno <remy.bruno@trinnov.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 018e8542
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment