freeman.liu wrote:
> At the end of the function snd_intel8x0_codec_semaphore. If we
> couldn't get the semaphore in 1 ms, we'll reset the register and
> return EBUSY. But to reset the register, we should do a
> iaputword ( chip, 0, 0 ), according to the datasheet, write any
> value the this register will reset the register.
> But in the code, what we did is iagetword ( chip, 0 ).

At that point, we don't want to reset the semaphore but to access a
dummy AC'97 register so that the semaphore flag is cleared even if we
actually got the semaphore (from the igetbyte in the printk).  (The
iagetword/iaputword functions access AC'97 registers, not ICH
registers.)


HTH
Clemens




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to