Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b8c5b53e1f104a9f877f947cdb86d5c7208d6c9a
Commit:     b8c5b53e1f104a9f877f947cdb86d5c7208d6c9a
Parent:     6b8d6e5518e2812b150c2d7c1e975a1bd33f0ccc
Author:     Jaroslav Kysela <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 16 20:12:34 2008 +0100
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 17:30:03 2008 +0100

    [ALSA] ice1712 - fixed midi input for Hoontech C-Ports
    
    See ALSA bug#1846 for more details.
    
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/ice1712/hoontech.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/pci/ice1712/hoontech.c b/sound/pci/ice1712/hoontech.c
index b2cfba1..b042e5c 100644
--- a/sound/pci/ice1712/hoontech.c
+++ b/sound/pci/ice1712/hoontech.c
@@ -205,13 +205,13 @@ static int __devinit snd_ice1712_hoontech_init(struct 
snd_ice1712 *ice)
        snd_ice1712_stdsp24_darear(ice, (ice->spec.hoontech.config & 
ICE1712_STDSP24_DAREAR) ? 1 : 0);
        snd_ice1712_stdsp24_mute(ice, (ice->spec.hoontech.config & 
ICE1712_STDSP24_MUTE) ? 1 : 0);
        snd_ice1712_stdsp24_insel(ice, (ice->spec.hoontech.config & 
ICE1712_STDSP24_INSEL) ? 1 : 0);
-       for (box = 0; box < 4; box++) {
+       for (box = 0; box < 1; box++) {
+               if (ice->spec.hoontech.boxconfig[box] & 
ICE1712_STDSP24_BOX_MIDI2)
+                        snd_ice1712_stdsp24_midi2(ice, 1);
                for (chn = 0; chn < 4; chn++)
                        snd_ice1712_stdsp24_box_channel(ice, box, chn, 
(ice->spec.hoontech.boxconfig[box] & (1 << chn)) ? 1 : 0);
                snd_ice1712_stdsp24_box_midi(ice, box,
                                (ice->spec.hoontech.boxconfig[box] & 
ICE1712_STDSP24_BOX_MIDI1) ? 1 : 0);
-               if (ice->spec.hoontech.boxconfig[box] & 
ICE1712_STDSP24_BOX_MIDI2)
-                       snd_ice1712_stdsp24_midi2(ice, 1);
        }
 
        return 0;
-
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