13 Mar
2012
13 Mar
'12
10:33 p.m.
On Tue, Mar 13, 2012 at 10:25:54PM +0100, Pavel Hofman wrote:
I always found that a simple proc interface listing all register values of the chips onboard greatly helped with troubleshooting. E.g. http://git.alsa-project.org/?p=alsa-kmirror.git;a=blob;f=i2c/other/ak4xxx-ad...
http://git.alsa-project.org/?p=alsa-kmirror.git;a=blob;f=i2c/other/ak4114.c;...
If you use regmap for your register I/O you get this for free (plus some other infrastructure stuff).