From patchwork Tue Mar 30 18:06:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12173489 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=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 2543EC433DB for ; Tue, 30 Mar 2021 18:07:40 +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 A4960619D1 for ; Tue, 30 Mar 2021 18:07:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A4960619D1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 573D51675; Tue, 30 Mar 2021 20:06:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 573D51675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1617127655; bh=+x5pmPzoPs8tHsp3sxrP6YEbXvMqolyuXAH2U4BJq+A=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Bm9Vx2KidUn3aKiOI5nxuXmVlNBQUNTg4AySgysMVHEoBDH3sfR2xGONNaTjuinGB kLpqMgZ/Zr8TLhA07zvQM4aIDv5Q3CeW8QGFQwwveUtSOy910tnBnLPMnHfhKQ/Hpg cAWmJ0fNmUzHgQv74WHQq2iMMk9pfMNdgQG2sHzI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DB1AFF8023E; Tue, 30 Mar 2021 20:06:44 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 79A6EF80240; Tue, 30 Mar 2021 20:06:43 +0200 (CEST) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 50613F8014E for ; Tue, 30 Mar 2021 20:06:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 50613F8014E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KILBfA6b" Received: by mail-ed1-x52f.google.com with SMTP id x21so19258331eds.4 for ; Tue, 30 Mar 2021 11:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0pgwGo5U4+mVpvBAlIW3XDhY6OzMGVQRD+8FoU11geg=; b=KILBfA6bAgwhgbaqL+MGXZDaxNFo9Jr5AheRhcv2NtJHd7OqaEXycAb+llcDIJT8Y8 nNJQQ6wSIieG4jv4njYkeNg95rE5S2gnYCU5I2FU+WLJvNLTHrlC6Jx6CZhC5+0G9nZc KZU38T4duNWkfLotY+9ZUoGOojL6pQWNVLQTZdJ9TUkHGeROZhYjptk6zjrNzjyprDDS IlDAlQWedrdBDjHXssZGbt0ab2CeMRdKDxzUNPqO32B9EP4B/6iBMb0t8/mMn/kjbUhO p2vgVUSj/LlYP0Q6bsCia+bSG82MeSGXyzI+MhdnSrwgGsViSEod9Qq6koWteg5PskON PVHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0pgwGo5U4+mVpvBAlIW3XDhY6OzMGVQRD+8FoU11geg=; b=fBm/JG33jVGVF2R3W6oX5+VtuszPSv8kG4irZsPcIhodJ55xSYDF0jtxW/00dJx6hC 5n7Phm0zh6zQyhafrDUNtDRRhrmSfWU8uSWq3xyRI2Ed1BL777EEyIhthbsAdGq4K2Ra qi3pMeifvMyXPB813cp++67A8DSa9o5GPCrq/PLl9+Gg1DO/UD1eoaLh5HJKUf+LM5gj 9eITiihqpuCWH6t8aJ5mitWxV8guJW9pkQy+75KnTCg+sG2ar9WZi0Px82gKCD9zswIF lvar+Qs7zbUcvRzRgevKUrPDRqLF9WMxg6ku9HP0+4JQOYS1rR25VtQ1nCuFyu3TUabz xBmg== X-Gm-Message-State: AOAM531W20m+ItBw3kBpmX2CStgr/dONUSCD39U/lEfXEuGcTAg5fpLd 9TeU0584I/3z1JkazPFnt2A= X-Google-Smtp-Source: ABdhPJxcmA+mJu9zdZY6GgDUziWNePTkeU423wGspKbNdxgH6BOtT/Uk4a7w/ccx0pA9XK354RQ4vg== X-Received: by 2002:a50:ed96:: with SMTP id h22mr34653915edr.39.1617127595723; Tue, 30 Mar 2021 11:06:35 -0700 (PDT) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id l12sm11597884edb.39.2021.03.30.11.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 11:06:34 -0700 (PDT) From: Thierry Reding To: Liam Girdwood , Mark Brown Subject: [PATCH] ASoC: tegra: Set driver name explicitly Date: Tue, 30 Mar 2021 20:06:57 +0200 Message-Id: <20210330180657.1867971-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Cc: linux-tegra@vger.kernel.org, Sameer Pujar , alsa-devel@alsa-project.org, Kuninori Morimoto , Jon Hunter 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Thierry Reding The SoC sound core will generate a driver name by normalizing the card name. However, most of the time that name does not tell anything about the driver and is therefore useless for this purpose. Make the driver name more useful by setting it explicitly during card initialization. Signed-off-by: Thierry Reding --- sound/soc/tegra/tegra_audio_graph_card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/tegra/tegra_audio_graph_card.c b/sound/soc/tegra/tegra_audio_graph_card.c index ddedf18adde1..47b319504c8c 100644 --- a/sound/soc/tegra/tegra_audio_graph_card.c +++ b/sound/soc/tegra/tegra_audio_graph_card.c @@ -198,6 +198,7 @@ static int tegra_audio_graph_probe(struct platform_device *pdev) return -ENOMEM; card = simple_priv_to_card(&priv->simple); + card->driver_name = "tegra-ape"; card->probe = tegra_audio_graph_card_probe;