27 Jul
2010
27 Jul
'10
6:32 p.m.
On Tue, Jul 27, 2010 at 09:46:16AM +0300, Peter Ujfalusi wrote:
Replace the hardwired latency definition with platform data parameter, and simplify the nSample parameter calculation.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@nokia.com
Acked-by: Mark Brown broonie@opensource.wolfsonmicro.com
I did notice that the default changes from 20ms:
-#define LATENCY_TIME_MS 20
- if (!dac33->mode1_i2c_latency)
dac33->mode1_i2c_latency = 10000; /* 10ms */
to 10ms with the new code but that shouldn't be a problem.