Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a3a68c85bfb7acc874ce6d334964b95943d4ed43
Commit:     a3a68c85bfb7acc874ce6d334964b95943d4ed43
Parent:     6534599d14892c5b0838b7170f071c850f5ea8e9
Author:     Remy Bruno <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 31 12:33:54 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 15:59:37 2007 +0200

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/rme9652/hdsp.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index 8f798f2..2411f0b 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -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)
 {
-       switch (hdsp->firmware_rev) {
-       case 0xa:
+       switch (hdsp->io_type) {
+       case Multiface:
+       case Digiface:
+       default:
                return (64 * out) + (32 + (in));
-       case 0x96:
-       case 0x97:
-       case 0x98:
+       case H9632:
                return (32 * out) + (16 + (in));
-       default:
+       case H9652:
                return (52 * out) + (26 + (in));
        }
 }
 
 static int hdsp_input_to_output_key (struct hdsp *hdsp, int in, int out)
 {
-       switch (hdsp->firmware_rev) {
-       case 0xa:
+       switch (hdsp->io_type) {
+       case Multiface:
+       case Digiface:
+       default:
                return (64 * out) + in;
-       case 0x96:
-       case 0x97:
-       case 0x98:
+       case H9632:
                return (32 * out) + in;
-       default:
+       case H9652:
                return (52 * out) + in;
        }
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to