[ALSA] hdsp - Add support for latset RME9632 revisions
added support for the latest revision of the 9632 (and hopefully a few following ones). The DSP matrix was not working because of wrong identification of the card in this part of the code. Signed-off-by: Remy Bruno <remy.bruno@trinnov.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
committed by
Jaroslav Kysela
parent
6534599d14
commit
a3a68c85bf
@@ -606,28 +606,28 @@ static void snd_hdsp_9652_enable_mixer (struct hdsp *hdsp);
|
|||||||
|
|
||||||
static int hdsp_playback_to_output_key (struct hdsp *hdsp, int in, int out)
|
static int hdsp_playback_to_output_key (struct hdsp *hdsp, int in, int out)
|
||||||
{
|
{
|
||||||
switch (hdsp->firmware_rev) {
|
switch (hdsp->io_type) {
|
||||||
case 0xa:
|
case Multiface:
|
||||||
return (64 * out) + (32 + (in));
|
case Digiface:
|
||||||
case 0x96:
|
|
||||||
case 0x97:
|
|
||||||
case 0x98:
|
|
||||||
return (32 * out) + (16 + (in));
|
|
||||||
default:
|
default:
|
||||||
|
return (64 * out) + (32 + (in));
|
||||||
|
case H9632:
|
||||||
|
return (32 * out) + (16 + (in));
|
||||||
|
case H9652:
|
||||||
return (52 * out) + (26 + (in));
|
return (52 * out) + (26 + (in));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int hdsp_input_to_output_key (struct hdsp *hdsp, int in, int out)
|
static int hdsp_input_to_output_key (struct hdsp *hdsp, int in, int out)
|
||||||
{
|
{
|
||||||
switch (hdsp->firmware_rev) {
|
switch (hdsp->io_type) {
|
||||||
case 0xa:
|
case Multiface:
|
||||||
return (64 * out) + in;
|
case Digiface:
|
||||||
case 0x96:
|
|
||||||
case 0x97:
|
|
||||||
case 0x98:
|
|
||||||
return (32 * out) + in;
|
|
||||||
default:
|
default:
|
||||||
|
return (64 * out) + in;
|
||||||
|
case H9632:
|
||||||
|
return (32 * out) + in;
|
||||||
|
case H9652:
|
||||||
return (52 * out) + in;
|
return (52 * out) + in;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user