From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 635E7C47E49 for ; Fri, 25 Oct 2019 14:07:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E2AC921E6F for ; Fri, 25 Oct 2019 14:07:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="W0Lek0zh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E2AC921E6F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 23D761817; Fri, 25 Oct 2019 16:06:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 23D761817 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1572012448; bh=Rx37uQn1OGRJfGoFrqH+UgGxqgZ1+9dqer7rHzzeHPo=; h=Date:From:To:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=W0Lek0zhheyg0NbDu8kmu7FrEXAzjmoFajxtwgmMTdP8IAeGuAIJZ8dcPu3A7Plkp +MVMeA64g7caCDHExXbLSoewW2s4NWXYKRyz1shOhql8KhKYZbpvSEKnbEwQi7Jxjv 9yyB+VBi4D7ScTKwt1bKYueQJwV5q/4RSYoETTQE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A9477F80112; Fri, 25 Oct 2019 16:06:37 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 188D5F80393; Fri, 25 Oct 2019 16:06:37 +0200 (CEST) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 22681F80112 for ; Fri, 25 Oct 2019 16:06:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 22681F80112 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 36655BA3A; Fri, 25 Oct 2019 14:06:33 +0000 (UTC) Date: Fri, 25 Oct 2019 16:06:33 +0200 Message-ID: From: Takashi Iwai To: Jaroslav Kysela In-Reply-To: References: <20191025123038.19728-1-perex@perex.cz> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Cc: ALSA development , Mark Brown , Pierre-Louis Bossart Subject: Re: [alsa-devel] [PATCH] ASoC: change 'HDMI/DP, pcm=' to 'HDMI/DP, pcm=' Jack control names X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Fri, 25 Oct 2019 15:57:50 +0200, Jaroslav Kysela wrote: > > Dne 25. 10. 19 v 14:38 Takashi Iwai napsal(a): > > On Fri, 25 Oct 2019 14:30:38 +0200, > > Jaroslav Kysela wrote: > >> > >> There is an inconsistency in the names for the HDMI/DP Jack control > >> names between some ASoC drivers and the HDA HDMI driver which > >> introduced this naming in 2011. > >> > >> There might be an impact for the user space (UCM). I will fix > >> the UCM configurations when this patch is applied. > >> > >> Signed-off-by: Jaroslav Kysela > >> Cc: Mark Brown > >> Cc: Pierre-Louis Bossart > > > > Yes, that's a known problem, and I left them so far just for keeping > > the already existing stuff working. > > > > Won't this break the current Chromebooks user-space? > > I would really expect to upgrade UCM configs for the recent kernels in > this case. I believe, those sort of issues are better to fix early > than lately. I know, the transition might cause a little issues, but > usually "do upgrade answer" will help. I don't think that we speak > about a large group of users here. Well, that's obviously against our dont-breaking-user-space rule. The UCM profiles have been widely used on Chromebooks, and they can't upgrade easily. So, I believe this is a case where we have to live with messes. thanks, Takashi > > Jaroslav > > > > > > > thanks, > > > > Takashi > > > >> --- > >> Documentation/sound/designs/control-names.rst | 5 +++-- > >> sound/soc/intel/boards/bxt_da7219_max98357a.c | 2 +- > >> sound/soc/intel/boards/bxt_rt298.c | 2 +- > >> sound/soc/intel/boards/glk_rt5682_max98357a.c | 2 +- > >> sound/soc/intel/boards/kbl_da7219_max98357a.c | 2 +- > >> sound/soc/intel/boards/kbl_da7219_max98927.c | 2 +- > >> sound/soc/intel/boards/kbl_rt5660.c | 2 +- > >> sound/soc/intel/boards/kbl_rt5663_max98927.c | 2 +- > >> sound/soc/intel/boards/skl_hda_dsp_common.c | 2 +- > >> sound/soc/intel/boards/skl_nau88l25_max98357a.c | 2 +- > >> sound/soc/intel/boards/skl_nau88l25_ssm4567.c | 2 +- > >> sound/soc/intel/boards/skl_rt286.c | 2 +- > >> sound/soc/intel/boards/sof_rt5682.c | 2 +- > >> 13 files changed, 15 insertions(+), 14 deletions(-) > >> > >> diff --git a/Documentation/sound/designs/control-names.rst b/Documentation/sound/designs/control-names.rst > >> index 7fedd0f33cd9..a5f6e3842df8 100644 > >> --- a/Documentation/sound/designs/control-names.rst > >> +++ b/Documentation/sound/designs/control-names.rst > >> @@ -50,7 +50,7 @@ Internal internal > >> SOURCE > >> ~~~~~~ > >> -=================== ================================================= > >> +=================== =================================================== > >> Master > >> Master Mono > >> Hardware Master > >> @@ -92,7 +92,8 @@ SPDIF output only > >> SPDIF In > >> Digital In > >> HDMI/DP either HDMI or DisplayPort > >> -=================== ================================================= > >> +HDMI/DP,pcm= either HDMI or DisplayPort with the PCM device link > >> +=================== =================================================== > >> Exceptions (deprecated) > >> ----------------------- > >> diff --git a/sound/soc/intel/boards/bxt_da7219_max98357a.c b/sound/soc/intel/boards/bxt_da7219_max98357a.c > >> index ac1dea5f9d11..b49028c6fd10 100644 > >> --- a/sound/soc/intel/boards/bxt_da7219_max98357a.c > >> +++ b/sound/soc/intel/boards/bxt_da7219_max98357a.c > >> @@ -618,7 +618,7 @@ static int bxt_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &broxton_hdmi[i], > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/bxt_rt298.c b/sound/soc/intel/boards/bxt_rt298.c > >> index adf416a49b48..caaf2f2af287 100644 > >> --- a/sound/soc/intel/boards/bxt_rt298.c > >> +++ b/sound/soc/intel/boards/bxt_rt298.c > >> @@ -530,7 +530,7 @@ static int bxt_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &broxton_hdmi[i], > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/glk_rt5682_max98357a.c b/sound/soc/intel/boards/glk_rt5682_max98357a.c > >> index bd2d371f2acd..5474f28e0c31 100644 > >> --- a/sound/soc/intel/boards/glk_rt5682_max98357a.c > >> +++ b/sound/soc/intel/boards/glk_rt5682_max98357a.c > >> @@ -548,7 +548,7 @@ static int glk_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &geminilake_hdmi[i], > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/kbl_da7219_max98357a.c b/sound/soc/intel/boards/kbl_da7219_max98357a.c > >> index 537a88932bb6..367415efed9b 100644 > >> --- a/sound/soc/intel/boards/kbl_da7219_max98357a.c > >> +++ b/sound/soc/intel/boards/kbl_da7219_max98357a.c > >> @@ -548,7 +548,7 @@ static int kabylake_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &skylake_hdmi[i], > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/kbl_da7219_max98927.c b/sound/soc/intel/boards/kbl_da7219_max98927.c > >> index 829f95fc4179..b30c2148d1f4 100644 > >> --- a/sound/soc/intel/boards/kbl_da7219_max98927.c > >> +++ b/sound/soc/intel/boards/kbl_da7219_max98927.c > >> @@ -977,7 +977,7 @@ static int kabylake_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &kabylake_hdmi[i], > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/kbl_rt5660.c b/sound/soc/intel/boards/kbl_rt5660.c > >> index 74fe1f3a5479..0965d1f02b2c 100644 > >> --- a/sound/soc/intel/boards/kbl_rt5660.c > >> +++ b/sound/soc/intel/boards/kbl_rt5660.c > >> @@ -470,7 +470,7 @@ static int kabylake_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &skylake_hdmi[i], > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/kbl_rt5663_max98927.c b/sound/soc/intel/boards/kbl_rt5663_max98927.c > >> index 7cefda341fbf..9f420e978459 100644 > >> --- a/sound/soc/intel/boards/kbl_rt5663_max98927.c > >> +++ b/sound/soc/intel/boards/kbl_rt5663_max98927.c > >> @@ -888,7 +888,7 @@ static int kabylake_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &skylake_hdmi[i], > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/skl_hda_dsp_common.c b/sound/soc/intel/boards/skl_hda_dsp_common.c > >> index 58409b6e476e..f717b1d179bd 100644 > >> --- a/sound/soc/intel/boards/skl_hda_dsp_common.c > >> +++ b/sound/soc/intel/boards/skl_hda_dsp_common.c > >> @@ -139,7 +139,7 @@ int skl_hda_hdmi_jack_init(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &pcm->hdmi_jack, > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/skl_nau88l25_max98357a.c b/sound/soc/intel/boards/skl_nau88l25_max98357a.c > >> index 3ce8efbeed12..b009e2df25d3 100644 > >> --- a/sound/soc/intel/boards/skl_nau88l25_max98357a.c > >> +++ b/sound/soc/intel/boards/skl_nau88l25_max98357a.c > >> @@ -607,7 +607,7 @@ static int skylake_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, > >> &skylake_hdmi[i], > >> diff --git a/sound/soc/intel/boards/skl_nau88l25_ssm4567.c b/sound/soc/intel/boards/skl_nau88l25_ssm4567.c > >> index 1a7ac8bdf543..0a6e650dc698 100644 > >> --- a/sound/soc/intel/boards/skl_nau88l25_ssm4567.c > >> +++ b/sound/soc/intel/boards/skl_nau88l25_ssm4567.c > >> @@ -648,7 +648,7 @@ static int skylake_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, > >> &skylake_hdmi[i], > >> diff --git a/sound/soc/intel/boards/skl_rt286.c b/sound/soc/intel/boards/skl_rt286.c > >> index 231349a47cc9..56ee4b55dce9 100644 > >> --- a/sound/soc/intel/boards/skl_rt286.c > >> +++ b/sound/soc/intel/boards/skl_rt286.c > >> @@ -489,7 +489,7 @@ static int skylake_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &skylake_hdmi[i], > >> NULL, 0); > >> diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c > >> index 4f6e58c3954a..862a7e35cb5c 100644 > >> --- a/sound/soc/intel/boards/sof_rt5682.c > >> +++ b/sound/soc/intel/boards/sof_rt5682.c > >> @@ -277,7 +277,7 @@ static int sof_card_late_probe(struct snd_soc_card *card) > >> list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { > >> component = pcm->codec_dai->component; > >> snprintf(jack_name, sizeof(jack_name), > >> - "HDMI/DP, pcm=%d Jack", pcm->device); > >> + "HDMI/DP,pcm=%d Jack", pcm->device); > >> err = snd_soc_card_jack_new(card, jack_name, > >> SND_JACK_AVOUT, &sof_hdmi[i], > >> NULL, 0); > >> -- > >> 2.20.1 > >> > > > -- > Jaroslav Kysela > Linux Sound Maintainer; ALSA Project; Red Hat, Inc. > _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel