Received: by 10.192.165.156 with SMTP id m28csp1223326imm; Wed, 11 Apr 2018 14:58:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx49dzAsoxXfFQSvMfFH3yzJaCL6U7TwmiFmfR80BYoUvH9siHjSAS759UpQaox4T/HroVpgs X-Received: by 10.98.133.212 with SMTP id m81mr5432378pfk.61.1523483926874; Wed, 11 Apr 2018 14:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523483926; cv=none; d=google.com; s=arc-20160816; b=hVXNFNrwdTbsUgz/5KTj3/9a7qpBI89MHNDKsFYBJ15yKQxW0UryXRnBkQvrKzV0KF 9hWTZ4fhD+Lo+NxOnq/s9x1X7u5XSxxugI2WSoeVZuOWkNVT/LEwMuLlHtED+XAHIVn6 2OEKdcRZOJj/G1iFu7/sS28E4uGfy8RIPg+aPH/RiWIAxqrhDz163EdfBzbmdf2o7or4 Lh0ZYd9MaYBtZHCJ3q6Z6X6SJgHQByITRZhiMaRK2rjw269JyT6k8zyPvO33GhcaiU5V 9PwhCK1aDzjya5L+6yVPWqnCZ3V1Ga69IR935kIuEomgvAg63z4rg7guUfJSlvYg7o34 KF1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Ngu3wrpKarBrsQ1WJ680P5T3Gq4dxv6j1BRL4PHqawE=; b=kyrSfIk9UAYVyvz692zogMuBKywWOb2TMBmYdMep0EAs7HJ3jw/W8nQyYQ0/s71mgb CgycOEID670twGfdn8myYg8X15+3V7/F041I9KUF4U5zLPXxf3PmMPEFgAAMXRRxDdAy eR/ITBXgZsnzcNfNm1gpoEaQSgou75jV64WEqxQnBfWUPOE7KOjDVgqKNFHA+JVuT9kT uDYD1YudQs/VcRo7EcpZhlNIDwItPBXEXrbmnQ0vc/Dhg7qEq4VzK8CFy5Ojz9lwZdvu MfugamKhVPru2CksWprTZYaNy1Kvvp1N4B0S2D+82sHn8hUfSIdKqUug2lQEf3EJcEfS 5Jig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si1924704pla.133.2018.04.11.14.58.10; Wed, 11 Apr 2018 14:58:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933850AbeDKS4M (ORCPT + 99 others); Wed, 11 Apr 2018 14:56:12 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35678 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933012AbeDKS4I (ORCPT ); Wed, 11 Apr 2018 14:56:08 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 63E87C03; Wed, 11 Apr 2018 18:56:07 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stefan Agner , Kuninori Morimoto , Mark Brown , Sasha Levin Subject: [PATCH 4.9 082/310] ASoC: simple-card: fix mic jack initialization Date: Wed, 11 Apr 2018 20:33:41 +0200 Message-Id: <20180411183625.817846082@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180411183622.305902791@linuxfoundation.org> References: <20180411183622.305902791@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stefan Agner [ Upstream commit f746aa5e8636c83e53bbb2d988bb614f732b2b80 ] Initialize asoc_simple_card_init_mic with the correct struct asoc_simple_jack. Fixes: 9eac361877b3 ("ASoC: simple-card: add new asoc_simple_jack and use it") Signed-off-by: Stefan Agner Acked-by: Kuninori Morimoto Signed-off-by: Mark Brown Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- sound/soc/generic/simple-card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c @@ -201,7 +201,7 @@ static int asoc_simple_card_dai_init(str if (ret < 0) return ret; - ret = asoc_simple_card_init_mic(rtd->card, &priv->hp_jack, PREFIX); + ret = asoc_simple_card_init_mic(rtd->card, &priv->mic_jack, PREFIX); if (ret < 0) return ret;