summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2010-07-28 15:26:54 +0300
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-07-29 10:21:04 +0100
commitf430a27f05d42d26d3e438aa262a92565170573f (patch)
treef448771488ceeda1aa3488d166d2d9a4302dc2b8 /include/sound
parentb93cc9f19bade9e9ddd41958352168dc0d266f48 (diff)
downloadlinux-f430a27f05d42d26d3e438aa262a92565170573f.tar.bz2
ASoC: tlv320dac33: Revisit the FIFO Mode1 handling
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> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tlv320dac33-plat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/tlv320dac33-plat.h b/include/sound/tlv320dac33-plat.h
index 3f428d53195b..1aa7bdbc208c 100644
--- a/include/sound/tlv320dac33-plat.h
+++ b/include/sound/tlv320dac33-plat.h
@@ -15,6 +15,7 @@
struct tlv320dac33_platform_data {
int power_gpio;
+ int mode1_latency; /* latency caused by the i2c writes in us */
int keep_bclk; /* Keep the BCLK running in FIFO modes */
u8 burst_bclkdiv;
};