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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D8C1DC2BD09 for ; Tue, 9 Jul 2024 16:28:38 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0A4DDF50; Tue, 9 Jul 2024 18:28:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0A4DDF50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1720542517; bh=9mx+xXOJIbL4Gruc64zMLczRT2keXw6OrRtVSMDAPx0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=hMEmcPjU6OTM3g1cSUsNkMcoUtbXrktpQlxOdJcPzFGEBRmYe8l76SWWzK8+dP1QT LHXpI6VrDcRxuGW7gMIHIUqhXHEcpRt9XNeYq+7DsWiCj8LdRNw9wBUZgeiGIaZgHI 2R9wbSxAUM4Vz2F6SGpHBJ9Eq9mtjC6paAaFja7g= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B538AF805BF; Tue, 9 Jul 2024 18:27:19 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 9DD99F80641; Tue, 9 Jul 2024 18:27:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F0B82F805AF; Tue, 9 Jul 2024 18:27:12 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B46F7F8062E for ; Tue, 9 Jul 2024 18:26:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B46F7F8062E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Kf5TwRZI Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 7783A61220; Tue, 9 Jul 2024 16:26:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C61A9C32786; Tue, 9 Jul 2024 16:26:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720542386; bh=9mx+xXOJIbL4Gruc64zMLczRT2keXw6OrRtVSMDAPx0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kf5TwRZIK7ofiPQQqWmC0re32/MeHh6f7+f2L2/i2GcfNXbYoEL6oNFetDZH29DOF vpc6cm+zBUCVmQIk/c+qlu+Webj2MdwPn79xp1JEonPSsWyAs6SOBdNEKLGFSmMifO 0Le78+loBfxP0JQMn0x3HYGxxgNXTLrYvz6UFmfhrHKb8GdxXWyFV0+ZFLGl/5kXt0 WOPjBdeW8viUSUPYsqu4PFvNMoOn9dfuGE47BGACY0K60qs0YTWDakv3n1ENOd920m RK6UI1CWUcrnyxMFeqBItoAVCEvZA4DbbWVOk4BOETQjWiHwomRD+vGfzqdj4frCjN r+xHkoQx/32cw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Primoz Fiser , Peter Ujfalusi , Mark Brown , Sasha Levin , jarkko.nikula@bitmer.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-sound@vger.kernel.org Subject: [PATCH AUTOSEL 5.10 06/14] ASoC: ti: omap-hdmi: Fix too long driver name Date: Tue, 9 Jul 2024 12:25:50 -0400 Message-ID: <20240709162612.32988-6-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240709162612.32988-1-sashal@kernel.org> References: <20240709162612.32988-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.10.221 Content-Transfer-Encoding: 8bit Message-ID-Hash: TMCXYF3VVUAIIHHWNNFHPXZZBQURHVUS X-Message-ID-Hash: TMCXYF3VVUAIIHHWNNFHPXZZBQURHVUS X-MailFrom: sashal@kernel.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Primoz Fiser [ Upstream commit 524d3f126362b6033e92cbe107ae2158d7fbff94 ] Set driver name to "HDMI". This simplifies the code and gets rid of the following error messages: ASoC: driver name too long 'HDMI 58040000.encoder' -> 'HDMI_58040000_e' Signed-off-by: Primoz Fiser Acked-by: Peter Ujfalusi Link: https://lore.kernel.org/r/20240610125847.773394-1-primoz.fiser@norik.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/ti/omap-hdmi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sound/soc/ti/omap-hdmi.c b/sound/soc/ti/omap-hdmi.c index 3328c02f93c74..1dfe439d13417 100644 --- a/sound/soc/ti/omap-hdmi.c +++ b/sound/soc/ti/omap-hdmi.c @@ -353,11 +353,7 @@ static int omap_hdmi_audio_probe(struct platform_device *pdev) if (!card) return -ENOMEM; - card->name = devm_kasprintf(dev, GFP_KERNEL, - "HDMI %s", dev_name(ad->dssdev)); - if (!card->name) - return -ENOMEM; - + card->name = "HDMI"; card->owner = THIS_MODULE; card->dai_link = devm_kzalloc(dev, sizeof(*(card->dai_link)), GFP_KERNEL); -- 2.43.0