Re: [alsa-cvslog] alsa-kernel: emu10k1: Fix outl() in snd_emu10k1_resume_regs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 4 Oct 2006, James Courtier-Dutton wrote:

> Takashi Iwai wrote:
> > -		outl(emu->port + A_IOCFG, emu->saved_a_iocfg);
> > -	outl(emu->port + HCFG, emu->saved_hcfg);
> > +		outl(emu->saved_a_iocfg, emu->port + A_IOCFG);
> > +	outl(emu->saved_hcfg, emu->port + HCFG);
> >   
> Is there any tool to find out who got this wrong in the first place?

Appearently, the bug is in code from first commit of PM code:

Use:

# hg annonate emu10k1_main.c
....
3769:   outl(emu->port + HCFG, emu->saved_hcfg);
....
# hg log -vr 3769
changeset:   3769:f30a961a9d6855846d824f0a23a1565030399e6c
user:        tiwai
date:        Thu Nov 17 16:14:10 2005 +0000
files:       include/emu10k1.h pci/emu10k1/emu10k1.c 
pci/emu10k1/emu10k1_main.c pci/emu10k1/emufx.c pci/emu10k1/emupcm.c 
pci/emu10k1/p16v.c
description:
emu10k1 - Add PM support

Add PM support to emu10k1 driver.

						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux