From 7d3d0dd9bd045b970cc53a217d5e94d871be7523 Mon Sep 17 00:00:00 2001 From: Andreas Degert Date: Wed, 16 Jan 2008 15:59:48 +0100 Subject: [PATCH] --- yaml --- r: 81653 b: refs/heads/master c: 192b8e3922c916cbacac7e5a190d9412ae39a7ee h: refs/heads/master i: 81651: e10e267649abbcba3a3ab870946ac7e67c2c6335 v: v3 --- [refs] | 2 +- trunk/sound/pci/rme9652/hdsp.c | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index c458d28dfbc7..3c18d39829c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e70515dd518bbd5b9e2e5c90a56347df0e871389 +refs/heads/master: 192b8e3922c916cbacac7e5a190d9412ae39a7ee diff --git a/trunk/sound/pci/rme9652/hdsp.c b/trunk/sound/pci/rme9652/hdsp.c index 763e4c917ec6..c2bd4384316a 100644 --- a/trunk/sound/pci/rme9652/hdsp.c +++ b/trunk/sound/pci/rme9652/hdsp.c @@ -607,7 +607,10 @@ static int hdsp_playback_to_output_key (struct hdsp *hdsp, int in, int out) case Multiface: case Digiface: default: - return (64 * out) + (32 + (in)); + if (hdsp->firmware_rev == 0xa) + return (64 * out) + (32 + (in)); + else + return (52 * out) + (26 + (in)); case H9632: return (32 * out) + (16 + (in)); case H9652: @@ -621,7 +624,10 @@ static int hdsp_input_to_output_key (struct hdsp *hdsp, int in, int out) case Multiface: case Digiface: default: - return (64 * out) + in; + if (hdsp->firmware_rev == 0xa) + return (64 * out) + in; + else + return (52 * out) + in; case H9632: return (32 * out) + in; case H9652: