diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-02 14:53:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-02 14:53:13 +0100 |
commit | 0841b04a5ffba5bd5a7f5b49f014adaf639bf3a4 (patch) | |
tree | a47d8e18851d3f0705dac942e2f5a06e432fde77 /sound/soc/codecs/max98095.c | |
parent | dbf7a733f5fb9da9de750716ec7c7615c30cbfb8 (diff) | |
download | talos-op-linux-0841b04a5ffba5bd5a7f5b49f014adaf639bf3a4.tar.gz talos-op-linux-0841b04a5ffba5bd5a7f5b49f014adaf639bf3a4.zip |
ASoC: max98095: Fix build failure
sound/soc/codecs/max98095.c: In function 'max98095_jack_detect_enable':
sound/soc/codecs/max98095.c:2229:14: error: 'struct max98095_priv' has no member named 'jack_detect_delay'
sound/soc/codecs/max98095.c:2230:18: error: 'struct max98095_priv' has no member named 'jack_detect_delay'
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/max98095.c')
-rw-r--r-- | sound/soc/codecs/max98095.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98095.c b/sound/soc/codecs/max98095.c index 0752840e01c2..35179e2c23c9 100644 --- a/sound/soc/codecs/max98095.c +++ b/sound/soc/codecs/max98095.c @@ -2226,8 +2226,8 @@ int max98095_jack_detect_enable(struct snd_soc_codec *codec) if (max98095->pdata->jack_detect_pin5en) detect_enable |= M98095_PIN5EN; - if (max98095->jack_detect_delay) - slew = max98095->jack_detect_delay; + if (max98095->pdata->jack_detect_delay) + slew = max98095->pdata->jack_detect_delay; ret = snd_soc_write(codec, M98095_08E_JACK_DC_SLEW, slew); if (ret < 0) { |