Ignore:
Timestamp:
Jul 20, 2010, 5:52:49 PM (15 years ago)
Author:
David Azarewicz
Message:

Changes to PCI bus scan, malloc, cleanup all warnings, misc other changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.1.x/alsa-kernel/pci/intel8x0.c

    r499 r519  
    24072407        iputdword(chip, ICHREG(GLOB_STA), cnt & status);
    24082408
     2409#ifdef CONFIG_SND_AC97_POWER_SAVE
    24092410        if (snd_intel8x0_ich_chip_can_cold_reset(chip))
    24102411                err = snd_intel8x0_ich_chip_cold_reset(chip);
    24112412        else
     2413#endif
    24122414                err = snd_intel8x0_ich_chip_reset(chip);
    24132415        if (err < 0)
     
    27962798        t *= 1000000;
    27972799        t += (stop_time.tv_nsec - start_time.tv_nsec) / 1000;
    2798         printk(KERN_INFO "%s: measured %lu usecs (%lu samples)\n", __func__, t, pos);
     2800        dprintf(("%s: measured %lu usecs (%lu samples)\n", __func__, t, pos));
    27992801        if (t == 0) {
    28002802                snd_printk(KERN_ERR "intel8x0: ?? calculation error..\n");
     
    28172819                chip->ac97_bus->clock = (chip->ac97_bus->clock * 48000) / pos;
    28182820      __end:
    2819         printk(KERN_INFO "intel8x0: clocking to %d\n", chip->ac97_bus->clock);
     2821        dprintf(("intel8x0: clocking to %d\n", chip->ac97_bus->clock));
    28202822        snd_ac97_update_power(chip->ac97[0], AC97_PCM_FRONT_DAC_RATE, 0);
    28212823}
Note: See TracChangeset for help on using the changeset viewer.