summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/twl4030.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2010-05-26 11:38:18 +0300
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-05-31 11:08:58 +0100
commit9fdcc0f72af8801d8429a465a159d815774dbf6d (patch)
tree7c2d0ac449467722ebf0026003d9b56277255236 /sound/soc/codecs/twl4030.h
parentee4ccac7cea0e4a4f44bbb109285129e1b293461 (diff)
downloadop-kernel-dev-9fdcc0f72af8801d8429a465a159d815774dbf6d.zip
op-kernel-dev-9fdcc0f72af8801d8429a465a159d815774dbf6d.tar.gz
ASoC: TWL4030: Helper to check chip default registers
Since the twl4030 codec driver supports different version of the PM chip, a helper function can come handy, which can check the driver's default versus the chip values. 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 'sound/soc/codecs/twl4030.h')
-rw-r--r--sound/soc/codecs/twl4030.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl4030.h b/sound/soc/codecs/twl4030.h
index c98e303..c22542c 100644
--- a/sound/soc/codecs/twl4030.h
+++ b/sound/soc/codecs/twl4030.h
@@ -43,6 +43,7 @@ struct twl4030_setup_data {
unsigned int ramp_delay_value;
unsigned int sysclk;
unsigned int offset_cncl_path;
+ unsigned int check_defaults:1;
unsigned int hs_extmute:1;
void (*set_hs_extmute)(int mute);
};
OpenPOWER on IntegriCloud