[alsa-devel] about ALC203 linux driver

Vincent Wan zswan at marvell.com
Sun May 9 21:24:49 EDT 2010


Dear Mark,



Thanks for your help, and I think that is a true direction.

I will re-check my driver as soon as I come back to home.



Wan.



-----Original Message-----
From: Mark Brown [mailto:broonie at opensource.wolfsonmicro.com]
Sent: 2010年5月10日 1:52
To: Wan ZongShun
Cc: Vincent Wan; alsa-devel at alsa-project.org; linux-arm-kernel
Subject: Re: [alsa-devel] about ALC203 linux driver



On Sun, May 09, 2010 at 11:34:28PM +0800, Wan ZongShun wrote:



> here, I used the file named ac97.c which is located in

> linux-2.6\sound\soc\codecs.

> I am sure that it can call the '\sound\pci\ac97ac97_codec.c' file and

> identify the

> ALC203 (like the log file shows 'nuc900 AC'97 codec is  ALC203',but sometimes

> the return value by reading one AC97 register, which is not same as

> the writing value to the

> AC97 register, that is not my expected result, but sometimes they are same.



> any suggestions?



Not all AC97 registers are writable so check that you're writing to

registers that the CODEC supports writing to but in general you're going

to need to debug your controller driver here.  Make sure you're

interacting well with any cache the controller has and that you are

properly synchronising with the controller during reads (which are

fairly slow operations on AC97).



Also make sure that the CODEC is properly clocked.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100509/c08c03fb/attachment-0001.htm>


More information about the linux-arm-kernel mailing list