Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4506858pxj; Tue, 22 Jun 2021 01:39:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5hZCVzMvPEqfhxfQC9BxYzlSTcE5gBiDZqqkRE5ZFIUitRy9xfbMFt/Tj3u1777yrtQXh X-Received: by 2002:a05:6602:2189:: with SMTP id b9mr2000649iob.74.1624351145738; Tue, 22 Jun 2021 01:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624351145; cv=none; d=google.com; s=arc-20160816; b=DTzEBgWGuYke1ONg+2mwx9ReGZZiBYpk8Q35EWdmlZfQ6yWW6Js9hm74Mv4rObVnIO DNEC/7uJYJ+yndiN0dnTozypSsCo5Jfzia3tu8KizUAC7qWp7dbuWhEpgpciV+WM/Eac J1MLcKO+3KeKtfKuQA3ThPcgRSnX00Q51/RIh6vOFtKNSIxyPYtudYpNOHkbYjD52frQ CAjPonZv36Tfmt6Uq5P3C9d4z3nHeUSLvBCXEBlISNwrECUWv2VPL6bnDV331w3c/ll7 ReJuP6EhgNT8c3J5a1/kq9C6O+Ia7VQgnFyQTXy5qze8NebKOJtkJQNWWArDwAINB9aT vq7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:to:from:date; bh=4C+s+5LYpMC2JtGUzs+IOE6OYHH7VE0gk6ms/s36N7g=; b=013UGx+thUAJwEoj559fGTDDsIftYnfq95VQ+2EAVmipAaWSOqYaikCWG7CkhYlmaE KkOgdcTGbLobjQDUZbptyCzxptbDZgUag5rIP3Vh+EnslmeoijOl+dj9hF5ZOTruE2Z/ GiDZtJqO7sDKrdUdz0x31FHmNgWs9Qv2+mzyNfbF8bv11rOl7zeMiS0pY/u05rkNmO4y ULp64dZRCew9Ujokda9fEG7EmTGpN32/KyZmr8bx/y9EducJVGgjPfgtcibAeuaUzFwI zs/YcGxP9eU2mLX3yCFfrDQbRB6gDXI1Yz1en1PalnposdrLLDmP7mhZ0WnxHsHQsMOr EJyQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si21778539jak.4.2021.06.22.01.38.53; Tue, 22 Jun 2021 01:39:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230251AbhFVIjt (ORCPT + 99 others); Tue, 22 Jun 2021 04:39:49 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:39338 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbhFVIjs (ORCPT ); Tue, 22 Jun 2021 04:39:48 -0400 X-Greylist: delayed 618 seconds by postgrey-1.27 at vger.kernel.org; Tue, 22 Jun 2021 04:39:48 EDT Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 3A432FB03; Tue, 22 Jun 2021 10:27:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fPibtmydCwzb; Tue, 22 Jun 2021 10:27:11 +0200 (CEST) Date: Tue, 22 Jun 2021 10:27:09 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Thierry Reding , Jon Hunter , Stephan Gerhold , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: simple-card: Fill in driver name Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) -- 2.30.2