diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2009-05-22 10:13:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-22 10:23:22 +0100 |
commit | 9da28c7b38170882b1c43d7d133ddce34e25f161 (patch) | |
tree | dd9becd919b9fe743d6cebfbd4e212922bf338f0 /sound/soc/codecs/twl4030.h | |
parent | 5c82f56736e4c3a9eaf53c94366b056c8622d79e (diff) | |
download | op-kernel-dev-9da28c7b38170882b1c43d7d133ddce34e25f161.zip op-kernel-dev-9da28c7b38170882b1c43d7d133ddce34e25f161.tar.gz |
ASoC: TWL4030: Add support for platform dependent configuration
twl4030_setup_data structure can be passed from platform drivers to
the codec via the snd_soc_device->codec_data pointer.
Currently the setup data has support for the Headset pop-removal
related configuration, which differs from board to board.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/twl4030.h')
-rw-r--r-- | sound/soc/codecs/twl4030.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl4030.h b/sound/soc/codecs/twl4030.h index 9668bdf..48326e2 100644 --- a/sound/soc/codecs/twl4030.h +++ b/sound/soc/codecs/twl4030.h @@ -266,4 +266,9 @@ extern struct snd_soc_dai twl4030_dai[2]; extern struct snd_soc_codec_device soc_codec_dev_twl4030; +struct twl4030_setup_data { + unsigned int ramp_delay_value; + unsigned int sysclk; +}; + #endif /* End of __TWL4030_AUDIO_H__ */ |