26 May
2010
26 May
'10
8:09 p.m.
On Wed, May 26, 2010 at 11:38:21AM +0300, Peter Ujfalusi wrote:
Machine driver can instruct the codec driver to reset the chip registers to their default values at probe time.
If machine driver does not provide setup data, then the registers are going to be reseted to their defaults, to be safe.
If the developer on the platform confirms that the register reset is not needed, than it can be skipped, saving ~20ms time in probe.
As safety measure do the register reset at remove time also.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@nokia.com
Acked-by: Mark Brown broonie@opensource.wolfsonmicro.com