From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rhyland Klein Subject: Re: [PATCH] ASoC: max98095: Fix build failure Date: Mon, 02 Apr 2012 11:06:17 -0700 Message-ID: <1333389977.24034.15.camel@rklein-linux> References: <1333375391-17049-1-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from hqemgate04.nvidia.com (hqemgate04.nvidia.com [216.228.121.35]) by alsa0.perex.cz (Postfix) with ESMTP id 2088124555 for ; Mon, 2 Apr 2012 20:06:09 +0200 (CEST) In-Reply-To: <1333375391-17049-1-git-send-email-broonie@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: "alsa-devel@alsa-project.org" , Liam Girdwood List-Id: alsa-devel@alsa-project.org On Mon, 2012-04-02 at 07:03 -0700, Mark Brown wrote: > 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 > Signed-off-by: Mark Brown > --- > 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 0752840..35179e2 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) { Acked-by Rhyland Klein ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------