Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp192769lqt; Thu, 6 Jun 2024 00:07:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV83hpOiGU5bCI/72RKuudb1j01nnmb2XfwMUclJTfos5qO85KzTBMdIq3PrB4wCci1PGBCvRTpTm+ogxV2DPTm4oAGJL4+w53ld6NzBw== X-Google-Smtp-Source: AGHT+IEzsDmxlRYQyOO6gPFziOFvd0NCrbzFk5rWFHaZAgXl8r8xoQFKGECGWwiisDy3qax4edRL X-Received: by 2002:a05:6a20:550a:b0:1b2:cda7:2eef with SMTP id adf61e73a8af0-1b2cda73404mr203624637.13.1717657657735; Thu, 06 Jun 2024 00:07:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717657657; cv=pass; d=google.com; s=arc-20160816; b=d5rjE2XIq6lzqdzwVfVc6rJl/SN/w6dTJkcNj6QDQzTMnyX1j9DCv/B4GNCP3PjpdT zMNm3oGRdMp7gpbw8HYq7VwdlNUOLZrilQOfjA2zAJK01+vNXvCs7bMpM3ZiRdh/9xbM C4+XbOdf83mqk4hoIHsABecPDrW9DihYFTkAlBRo6VPRMFPi6t4s0Hi5FYKUn802vBBS iPr0w9nINL5wun1VbsrUhEjEO0w2opBJCs6LF135we3iCSetY42pnMJwSoYiQH+XCyWS 5EBrIPNnr9AQXtDL3fv4lwMCba/vJAm7G8wgjPDj+mSsIXof7a+U6KIiqeckFLC+ADqU x2GA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=+eJtUnrby00UuoYKS4VrVufy1eG1BTDW7IZPCyp/z7Y=; fh=6H2mrhM12GPM3Q8ckX3vY4n3RBn9p4Ye1H//31qztFM=; b=fsJrcIpptqhzrDyfJrlknLA2Mnki0S+g5zIvemKxFSv8jgpd1arl213VJCjsIB5Dac 5ppR21+K9206CvBWQb8WLYKWRSnOvaI+4jNcWG4DjeGyVRY3rM1l8Hvnxo2LA/NMp8P6 nNkxJ2EMrkB9xOB13LSphskF2z48dlkHx6V+uOB1KY0KPVW3wC4Pkg7c63rRFmfOOwKz kifV0wrCVv4rbAVZ3wVgzQAqgd4fPTtDBYH2ibf0BCjg2oLoP9BcAEsqGWcyCrPn7AOq ZPPiThsf4+P3PLjIp6736Qm2P74JZ6jQPMF4RlBsxYQxvbqA8zlMZeyHAHBfSD6sNbQk mkYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=qYmUcVRW; arc=pass (i=1 spf=pass spfdomain=norik.com dkim=pass dkdomain=norik.com); spf=pass (google.com: domain of linux-kernel+bounces-203705-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203705-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de275fe549si656982a12.536.2024.06.06.00.07.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 00:07:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203705-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=qYmUcVRW; arc=pass (i=1 spf=pass spfdomain=norik.com dkim=pass dkdomain=norik.com); spf=pass (google.com: domain of linux-kernel+bounces-203705-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203705-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 36D1A283B92 for ; Thu, 6 Jun 2024 07:06:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B57F513AD1D; Thu, 6 Jun 2024 07:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=norik.com header.i=@norik.com header.b="qYmUcVRW" Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2550D19D890; Thu, 6 Jun 2024 07:06:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717657609; cv=none; b=afFp8e6Bk3wUN1182xF+BCcgP8TKKe32E9MSiVFYKtKLCOg2gwJfWUJsyUyT3tp/ruZEGPnsSlx7L72LUq/4NafbVplLei2YmVy469pwC6gCp28Iw+mpvO+7nf4xiYOfDmYbOF8JTO3Y6X5N82pb+MP55ypM3WcCIznzQ25Juno= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717657609; c=relaxed/simple; bh=2OUU5c+0oHQOjiWiuROmSRGh8j3BqgUxQjKXgFVzcJo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=noDYsodMYw3JFeg2Bm4B8Q9bvhDn0jx7mkCO19cBITJ6kwSasxLKSom1+MmuUPdLZ9c8f3XByPWc+6bh++8oUSXmNpnifFbbvDhwtDEXl/PEcKrlSfIruLKV5ppDOHo/ijKyNc9ECVZdjC/2/ss0LSfdCY6cAbw1F1cJXa7wAso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=qYmUcVRW; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=+eJtUnrby00UuoYKS4VrVufy1eG1BTDW7IZPCyp/z7Y=; b=qYmUcVRWvbjX5/xj0PoVu+tz2N jF2ZU0UEQ8d2sOcVbXn6+BRC6fxCQ3uCDkQqloOgx/H//mS7FxUesSahfTYB77SffP0Y8q2Ui4PPQ 1+wzk/MuOoI7sh8+K62MAQwQIoD60b/KelCtq7E/H/l+5GCgsUeQEjiStKxJQYwdk2SgJc87C3j8k drPOCeszU7JTRglLz6u5OJuhYqWui+ku6zqKHXE5HTkcwh/VpYQa+jmmvLLSmeUU87SdrIssT6F6n J2c++EF+JabD5uKDDnyFRhQenPhaRww3+/TOEzbnZ0m/Yb04vYULkbub+23QD3TmSOgyxUiSGxR1v ZIgunZlw==; Received: from [89.212.21.243] (port=46262 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1sF7Cw-00BN3X-31; Thu, 06 Jun 2024 09:06:46 +0200 From: Primoz Fiser To: Peter Ujfalusi , Jarkko Nikula , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Cc: upstream@lists.phytec.de Subject: [PATCH] ASoC: ti: omap-hdmi: Fix too long driver name Date: Thu, 6 Jun 2024 09:06:45 +0200 Message-Id: <20240606070645.3519459-1-primoz.fiser@norik.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: primoz.fiser@norik.com X-Authenticated-Sender: cpanel.siel.si: primoz.fiser@norik.com X-Source: X-Source-Args: X-Source-Dir: Set driver name to DRV_NAME. 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 --- 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 639bc83f4263..3f35eedeea41 100644 --- a/sound/soc/ti/omap-hdmi.c +++ b/sound/soc/ti/omap-hdmi.c @@ -354,11 +354,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 = DRV_NAME; card->owner = THIS_MODULE; card->dai_link = devm_kzalloc(dev, sizeof(*(card->dai_link)), GFP_KERNEL); -- 2.25.1