Ignore:
Timestamp:
Jul 31, 2007, 4:57:19 PM (18 years ago)
Author:
Brendan Oakley
Message:

Fix of Trac Ticket #21 - slow sound on AC97 Intel while on battery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/ac97/ac97_codec.c

    r133 r229  
    24052405    int i;
    24062406
     2407#ifdef CONFIG_SND_AC97_POWER_SAVE
     2408        if (power_save)
     2409                power_up = ac97->power_up;
     2410        else {
     2411#endif
    24072412        power_up = (1 << PWIDX_FRONT) | (1 << PWIDX_ADC);
    24082413        power_up |= (1 << PWIDX_MIC);
     
    24122417            power_up |= (1 << PWIDX_CLFE);
    24132418#ifdef CONFIG_SND_AC97_POWER_SAVE
     2419        }
    24142420        if (ac97_is_power_save_mode(ac97))
    24152421                power_up = ac97->power_up;
Note: See TracChangeset for help on using the changeset viewer.