Changeset 230


Ignore:
Timestamp:
Aug 1, 2007, 5:12:26 AM (13 years ago)
Author:
Brendan Oakley
Message:

Apply Ticket #21 fix from trunk to alsa-resync branch

Location:
GPL/branches/alsa-resync1/alsa-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/ac97_codec.h

    r86 r230  
    3232#include "info.h"
    3333
     34#define CONFIG_SND_AC97_POWER_SAVE /* experimental !!! */
    3435/*
    3536 *  AC'97 codec registers
  • GPL/branches/alsa-resync1/alsa-kernel/pci/ac97/ac97_codec.c

    r206 r230  
    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.