diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2009-05-22 03:13:15 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-22 05:23:22 -0400 |
commit | 9da28c7b38170882b1c43d7d133ddce34e25f161 (patch) | |
tree | dd9becd919b9fe743d6cebfbd4e212922bf338f0 /sound/soc/codecs/twl4030.h | |
parent | 5c82f56736e4c3a9eaf53c94366b056c8622d79e (diff) |
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 9668bdf430fb..48326e2bd9de 100644 --- a/sound/soc/codecs/twl4030.h +++ b/sound/soc/codecs/twl4030.h | |||
@@ -266,4 +266,9 @@ | |||
266 | extern struct snd_soc_dai twl4030_dai[2]; | 266 | extern struct snd_soc_dai twl4030_dai[2]; |
267 | extern struct snd_soc_codec_device soc_codec_dev_twl4030; | 267 | extern struct snd_soc_codec_device soc_codec_dev_twl4030; |
268 | 268 | ||
269 | struct twl4030_setup_data { | ||
270 | unsigned int ramp_delay_value; | ||
271 | unsigned int sysclk; | ||
272 | }; | ||
273 | |||
269 | #endif /* End of __TWL4030_AUDIO_H__ */ | 274 | #endif /* End of __TWL4030_AUDIO_H__ */ |