Received: by 10.213.65.68 with SMTP id h4csp446265imn; Tue, 13 Mar 2018 09:17:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELt4GP3Bysvr/QkkmoVD8lwxj4R83fRvW7f9r4ZjheiE1w8NPUl6udAaMhC7JtyFODSE+x+v X-Received: by 10.99.167.66 with SMTP id w2mr926944pgo.357.1520957876604; Tue, 13 Mar 2018 09:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520957876; cv=none; d=google.com; s=arc-20160816; b=GePKbv1+uaBilsBwJAsY327zgy7n2o53+wQY9n8v2B19s8+4d1i8i7DK+Ck8bD1o4e ZHJdhFCes8OJe6GcalyH6a/WvGBKlRo8tBSAquRKte0Lu0SCh1SxW7xl0S1HLru3dDEv SElQQtieeyOdL++RKPF8rx4pAzng/tgsA1RlkSb7ZOW7wz0ghaC8pe9mv0vBwagF1BTC 15IMjLkR2Tj06yknNXkXUOhgRqSO9qITU3Z/uAXwzh/ixkSRB78JmFxo40QTGJHkPIPo jWvsjtsIGYlCardJUZ9vZcUIh8QrGRDgITQEA/M9slQXSkkvtsEWbJjh4VfaFNr44P49 F6sw== 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=tKLaGFfUmZ4yKWOO99kexeYlHCVxQ7yg0w8tADSZhEg=; b=dUTpkRSq5NqCF6GbEkEexqfBAyQzE8n2qSIrOYImOVLqHVwoo9s6xuMud2l4uXshg3 JD5pwAhEgOUFVB6VTDQMrpUWBw3ZxmxKA7NuNGUf1SflJ1Zpr3QxewYQQO+F5lOmr4BQ R+9MVMYt7ZsGL0z1BCrxfMQhGZ/X6sTAjsRTJesCt6wLJ496ASHjw2X/sr0wv7ulSYST YdXCaR9M9Ku4b58Kl6kHuqZHfOMbLRlTyiEjTDWmWmUi10i3iE14p6SmLY4EnULSRqw/ n0Qe/I3rWr6c4tzEpAvh06UJYxaYvR0rxS9oLcB/FJSCq4L4yE47jwsNfKz2qAO+fuvr BkLQ== 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 bb5-v6si322996plb.407.2018.03.13.09.17.41; Tue, 13 Mar 2018 09:17:56 -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 S933993AbeCMPfa (ORCPT + 99 others); Tue, 13 Mar 2018 11:35:30 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33162 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933970AbeCMPf1 (ORCPT ); Tue, 13 Mar 2018 11:35:27 -0400 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id CBD2AE64; Tue, 13 Mar 2018 15:35:26 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chintan Patel , Vinod Koul , Mark Brown , Guenter Roeck Subject: [PATCH 4.14 007/140] ASoC: Intel: Skylake: Fix jack name format substitution Date: Tue, 13 Mar 2018 16:23:30 +0100 Message-Id: <20180313152458.653942801@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180313152458.201155692@linuxfoundation.org> References: <20180313152458.201155692@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.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chintan Patel commit d1c4cb447a7efcb5608a33cdfed8ab4234378b0a upstream. Jack name is not getting formatted correctly hence resulting in invalid name for HDMI/DP input devices. This was recently exposed due changes brought by MST: commit 3a13347f05fd ("ASoC: Intel: kbl: Add jack port initialize in kbl machine drivers") Signed-off-by: Chintan Patel Acked-By: Vinod Koul Signed-off-by: Mark Brown Cc: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +++ b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c @@ -604,6 +604,8 @@ static int kabylake_card_late_probe(stru list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { codec = pcm->codec_dai->codec; + snprintf(jack_name, sizeof(jack_name), + "HDMI/DP, pcm=%d Jack", pcm->device); err = snd_soc_card_jack_new(card, jack_name, SND_JACK_AVOUT, &ctx->kabylake_hdmi[i], NULL, 0);