[alsa-devel] [PATCH 5/7] ASoC: TWL4030: Helper to check chip default registers

Peter Ujfalusi peter.ujfalusi at nokia.com
Tue May 25 14:20:40 CEST 2010


> 
> Is this purely for information/debug purposes ?

Yes, the driver support twl4030, twl5030, twl5031, tps*something* chips.
If someone, who have access to those chips, and in doubt, can check it.
 
> Why do we need to check default vales at init(). Is there another driver
> changing the audio codec registers ?

This driver is going to change it.
It is also possible that the bootloader changed them (startup tone?).
So it is not really bulletproof, but at least it helped me to find out the the 
ARXR2_APGA_CTL register does not have the reset value, which it supposed to 
have.

Well, I can remove it, but I thought that it is a nice touch ;)

> 
> Thanks
> 
> Liam

-- 
Péter


More information about the Alsa-devel mailing list