diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2010-05-26 10:38:16 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-05-31 12:08:58 +0200 |
commit | 979bb1f4b8b058e9fb23d6166807e30b507a1a6d (patch) | |
tree | b64514fa9151951809f49ff7feb0c8b59b733070 /sound/soc/codecs/twl4030.h | |
parent | ASoC: TWL4030: Remove wrapper for power down (diff) | |
download | linux-979bb1f4b8b058e9fb23d6166807e30b507a1a6d.tar.xz linux-979bb1f4b8b058e9fb23d6166807e30b507a1a6d.zip |
ASoC: TWL4030: Make offset cancellation path configurable
Add means for machine drivers to select the path for offset
cancellation.
Reset the reg cache value to the chip reset value at the
same time.
Machine drivers can specify which path need to be used for
offset cancellation via the twl4030_setup.offset_cncl_path.
For paths use the defines from
include/linux/mfd/twl4030-codec.h:
TWL4030_OFFSET_CNCL_SEL_*
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl4030.h b/sound/soc/codecs/twl4030.h index f206d242ca31..c98e30347e87 100644 --- a/sound/soc/codecs/twl4030.h +++ b/sound/soc/codecs/twl4030.h @@ -42,6 +42,7 @@ extern struct snd_soc_codec_device soc_codec_dev_twl4030; struct twl4030_setup_data { unsigned int ramp_delay_value; unsigned int sysclk; + unsigned int offset_cncl_path; unsigned int hs_extmute:1; void (*set_hs_extmute)(int mute); }; |