diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-21 17:54:52 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-22 19:00:37 +0100 |
commit | 02e79476998ba7e62842d20dca898c403ad55c7e (patch) | |
tree | 0b8494474dcd4e92c196400d80be3cf8ab898eff /include/linux/mfd | |
parent | 20bac1f3f470e2d5c87af7b41b10e088e47989bb (diff) | |
download | blackbird-op-linux-02e79476998ba7e62842d20dca898c403ad55c7e.tar.gz blackbird-op-linux-02e79476998ba7e62842d20dca898c403ad55c7e.zip |
ASoC: wm_hubs: Allow configuration of MICBIAS power up delay via pdata
Sometimes the analogue circuitry connected to the microphone needs some
time to settle after power up. Allow systems to configure this delay in
the platform data, the driver will then insert the required delay during
power up of paths that involve the microphone.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/wm8994/pdata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h index f0361c031927..fc87be4fdc25 100644 --- a/include/linux/mfd/wm8994/pdata.h +++ b/include/linux/mfd/wm8994/pdata.h @@ -164,6 +164,10 @@ struct wm8994_pdata { int num_micd_rates; struct wm8958_micd_rate *micd_rates; + /* Power up delays to add after microphone bias power up (ms) */ + int micb1_delay; + int micb2_delay; + /* LINEOUT can be differential or single ended */ unsigned int lineout1_diff:1; unsigned int lineout2_diff:1; |