Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp432359pxb; Sun, 10 Oct 2021 01:50:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+vfGSwEm4ok6STH/cHQLHkeTat7BUUBy8XElsckr5ban6j1dhltjGKA9fQdjgJRImO0WJ X-Received: by 2002:aa7:8b56:0:b0:44b:e510:a208 with SMTP id i22-20020aa78b56000000b0044be510a208mr20011165pfd.56.1633855819768; Sun, 10 Oct 2021 01:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633855819; cv=none; d=google.com; s=arc-20160816; b=g4SfuqXPGMUvnxilDOlFd2UwEA5IPMmx2LF5+RU3EojC0NwqaZshF+AGoti94++70a 5CLEF/dl8vYlqAzwXjUq9KvP3KzDHD1L8zPZ6MuwxJoGd9u29g1499GStONXk1XyJoGF E8hsduoWnTdxCf0/FpCIMxeLrELFwwTmkH6oVcyw1V2H0mi+3EV89+kxYZRcMRxeHE4O 3a/iCgXCwbc23h5OpSbdtwHOtbuI+wfNYjo5SSPQ0cmrhUezU870RweP0E3fD+ZuVyxM bI8f7DowDq4dfDs4o+fbLhdXBBgXYOPeV+PZhrtBM8S/h5ApHcIKiCmFapX7i6jUQFCO yHMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature:dkim-filter; bh=jEddCVVyEM6hfDJAIIp/JF0rfCtaB9zR3MuC9Qro148=; b=l3ecR4BUJdPzjWfpt90+HZatIjYrywepjmRTnBHkT25mgOEtuECo/iVcFayAe4iF7j ML2+XtKXd+NIoF3QKFQhtf1pSExL8ZdcdscGcSgzZkEXiftV3mDhv3PbsmS9la0O/ntL NkN2BLwjxLkLVreN01vevmHKjJiTAuZCsVc7rFUhFN/GbbDCR8+hd+kWdjsaHo3wOVuW C3ziUeuOUk7SC7vkJ94R1ocdbRsYl9++Z781P9mo1fI3qAr6E4CtuQP0JGzWQFmcPvoH GG1H2NGeKLMUtj0i76eSKRSIIE2dfbzCu/Cm96c3g6PlqOlFu6k3jmUBZqkWAG580OR0 02aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perex.cz header.s=default header.b=wKG6TDVh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=perex.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 190si7609449pgd.455.2021.10.10.01.50.06; Sun, 10 Oct 2021 01:50:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@perex.cz header.s=default header.b=wKG6TDVh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=perex.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230271AbhJJIum (ORCPT + 99 others); Sun, 10 Oct 2021 04:50:42 -0400 Received: from mail1.perex.cz ([77.48.224.245]:41304 "EHLO mail1.perex.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbhJJIum (ORCPT ); Sun, 10 Oct 2021 04:50:42 -0400 X-Greylist: delayed 501 seconds by postgrey-1.27 at vger.kernel.org; Sun, 10 Oct 2021 04:50:41 EDT Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id 6BE4AA003F; Sun, 10 Oct 2021 10:40:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz 6BE4AA003F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1633855221; bh=jEddCVVyEM6hfDJAIIp/JF0rfCtaB9zR3MuC9Qro148=; h=Date:Subject:To:References:From:In-Reply-To:From; b=wKG6TDVhlblRcRd0f6VGjJyJlnjhQAmYlYNXqC/D15yntOn9n+tTwxJ2bioo55qGe jzz2CGbAPmQokinVBhrSwy3VjSGDJKkwrDIbIeH+PmRov5Rk2QO31XxKIp9uqp7MRV vLs+n2Oj0tfHRT/CZDNNgBNwd8huSrXKxg3dQJRc= Received: from [192.168.100.98] (unknown [192.168.100.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Sun, 10 Oct 2021 10:40:10 +0200 (CEST) Message-ID: <61a82214-0de8-816f-ff63-3979b86343bf@perex.cz> Date: Sun, 10 Oct 2021 10:40:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH] ASoC: simple-card: Fill in driver name Content-Language: en-US To: Diederik de Haas , Liam Girdwood , Mark Brown , Takashi Iwai , Kuninori Morimoto , Thierry Reding , Jon Hunter , Stephan Gerhold , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Guido_G=c3=bcnther?= References: <4974503.Y8KB3sNASq@bagend> From: Jaroslav Kysela In-Reply-To: <4974503.Y8KB3sNASq@bagend> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10. 10. 21 9:47, Diederik de Haas wrote: > On Tuesday, 22 June 2021 10:27:09 CEST Guido Günther wrote: >> alsa-ucm groups by driver name so fill that in as well. Otherwise the >> presented information is redundant and doesn't reflect the used >> driver. We can't just use 'asoc-simple-card' since the driver name is >> restricted to 15 characters. >> >> Before: >> >> # cat /proc/asound/cards >> 0 [Devkit ]: Librem_5_Devkit - Librem 5 Devkit >> Librem 5 Devkit >> After: >> >> 0 [Devkit ]: simple-card - Librem 5 Devkit >> Librem 5 Devkit >> >> Signed-off-by: Guido Günther >> --- >> This came out of a discussion about adding alsa-ucm profiles for the >> Librem 5 Devkit at https://github.com/alsa-project/alsa-ucm-conf/pull/102 >> >> sound/soc/generic/simple-card.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/sound/soc/generic/simple-card.c >> b/sound/soc/generic/simple-card.c index 0015f534d42d..a3a7990b5cb6 100644 >> --- a/sound/soc/generic/simple-card.c >> +++ b/sound/soc/generic/simple-card.c >> @@ -621,6 +621,7 @@ static int asoc_simple_probe(struct platform_device >> *pdev) card->owner = THIS_MODULE; >> card->dev = dev; >> card->probe = simple_soc_probe; >> + card->driver_name = "simple-card"; >> >> li = devm_kzalloc(dev, sizeof(*li), GFP_KERNEL); >> if (!li) > > Unfortunately this change broke multichannel audio on my Rock64 device running > Debian. My Rock64 is connected to my AVR (Pioneer SC-1224) via a HDMI cable. This looks like an user space configuration problem. You should check, if a PA profile or an UCM configuration is used (in the PA debug log). Jaroslav -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.