Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp407915lqp; Mon, 10 Jun 2024 07:44:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWBHLLAoNJzYXW1NvksLQjSH5t/+Vf1Jvn+iQZESMRQurvhQq4u3iPr72Ceh2xdXdCo9NNT83E6PZv7/nO+EeKyIkUubLEgoqf0tEhe9w== X-Google-Smtp-Source: AGHT+IGSfeba9OyR1g/JeyAa6ZYPhYXEcJCBGmQcoPozZuFqvNp2kRF1LJ+ZqpbR7YvY3tzLjAZD X-Received: by 2002:a05:6214:4609:b0:6b0:680d:c222 with SMTP id 6a1803df08f44-6b0680dc292mr100127136d6.3.1718030683947; Mon, 10 Jun 2024 07:44:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718030683; cv=pass; d=google.com; s=arc-20160816; b=pTrkHnrDRIVXzEwYev6Kxh5TW8GTwPHXp9KvxZYLJym/wR7l4dbOWj+yOAu/jYYOSe xdl+tr8f1Lod/uVH14fSLyM9qrelTjSZWS3XsFxoXOo+Xcm4ZHZbQI5Tuhn337dBDPg8 EQ7ZgmWr3FS1STYfkp0fRoljLCarJWh/FTciXrBcf4WqbnsQ4ZPjxt3AoXMZbpw9MZSk y9SSeglcBcUOuU2YwFE69VeFO1UHJU+lFuChqHZV55db8OtnA3WCOsc2RHxwXUVJ5iik lb4ODayB0kRRcfMmeRdPk7Uv5vplI+c2kpHM8AaVQktY/uS9x1XN6FzjPLMi0/edchc6 y0Hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ARiAbV9duxyFUqNEp29RQ3QZg/sow4QH3/UXrM8Ep8I=; fh=vp8pOllEvtwyKyxN5NpbSN3bv/5Y1gENd/aDZVgLF8s=; b=baY8PbUL7MrKn4WX1Ea4kHlFVfIOxREO/UHT5ATOS1BBi5+wYFdyASGBL6bVFuBQyx Vs5AJaWBfAn4Ay0xNPrAtrA70f+NJpEGlQqdtcKX+qgTAtSFyDHUwF840kl5mcEu0EcF 3ghkipOxVL1JW5T3b5GUebGBfm6G2VQ6QL7W8oeZ53NkYSkbixlsq9WjL7FMnWw3rt6E CRi5W/rBdkeoUNaG7elxD508XO0NQEkdIPrn/dgvDa7kSDkM/Zeq/a15IZkuZVih265g TW2Jpjc4UGS9WGyUr7j1nCHbYwKam9r/YXEJUjWNMHagUEesFxGhe/bBV3+3lBY/QhSX bn6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=npg5pXyZ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-208387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b079952d49si34148726d6.76.2024.06.10.07.44.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 07:44:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=npg5pXyZ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-208387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 158FF1C22F83 for ; Mon, 10 Jun 2024 14:44:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2F85134402; Mon, 10 Jun 2024 14:43:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="npg5pXyZ" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B0C623B0; Mon, 10 Jun 2024 14:43:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718030590; cv=none; b=ZF2LTSi9xd206VHZJedsI4MQ3rBTgy/j9/bqPEEB7xqnVSm1FStLRd/DZcOXQ5yBwLMvzP0cmdkDDP4NDZezfHYOlYcBCgnqxxT9Kmg7seLHOAiYWnL2rg4ZZhUF3QMB+ZK6RM6rFDHjDd006C+D71HToXcMkTcjRi8TI/n11NA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718030590; c=relaxed/simple; bh=WfJ9jpzyEaAtpm/A8NCBTJr5h8q7wIHU4XCBvX6wUno=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ebrns7VrHvkw1IL84vUsaXcBvrZgbvylF5lpwsvjXZ1JBETSpLhoRnf01G5cHThmrfAREsm4PgcMmgZ1R4VrYif325X35Asvx7tK89dF20aymMvxm0OTuVQx97amI3MKWKzISV5AhAN349JRs1AugWzQsS6mIsb0aVao/rLy8yU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=npg5pXyZ; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-52c8342af5eso1573592e87.3; Mon, 10 Jun 2024 07:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718030587; x=1718635387; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ARiAbV9duxyFUqNEp29RQ3QZg/sow4QH3/UXrM8Ep8I=; b=npg5pXyZLHTbMLJR1HVeyL7cyNKLayqUh3l1nKAJL/7qoy2cbl1asxwlQOG+e0oiUw Qeg7zG/w2xWXETh3YwJ/vj1x/rYNcn3kuoBk+fG9HU9YmhDezRsCLWsAf+pq0pbwQ3My EgKB0/ZUvflkplgArrqPdkjgYU7YLrZbXgqxjjbaykdC331an+f5KD8iBczmRV7bHuB3 abcJjMpWCc6CEZ0OpLsJcfZvPyFUETpD7hPe8kM2k6bwHJ++zaRhtWOjNOerJpcbFZEZ M9ZQRBpM08dMh0ypnJ9yjkycx0vip8EXFbXpMmcfgNk6Q/T8GDHVZI2PyFCZExIxmDUE SoCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718030587; x=1718635387; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ARiAbV9duxyFUqNEp29RQ3QZg/sow4QH3/UXrM8Ep8I=; b=PgbbbdOpBKYiBoOe+e4jGDEs2P1wFQcujw8HYsljSbzS6CKP9qZeMXjgsL2YjUhLvC SRhPEYbhEpYzKMO0XaNYNI4BCuE+ETajOao5kVNHMuyrjsWULGIcb0rV4Y60D9gnqLIB Bo1hFxmOLZAac1h1G48iMYkV9S53Tqmt8xb2OmRkDgfLeuE1Z1dfKqyTJfYZz5CHK9me fM9T8qXo8pUKn4rdvOWb7L3+IQu3gw3gP1q7OlBj8rlSgyZWqDVi7bLGx/kSDVtWYbcm aCv6BUf88Ye4lWqu0TGbMMTjtG0f5e9trEoDKn3I9WOBu/Lpz3F8c4F6Q7c8bUuo072C HnEA== X-Forwarded-Encrypted: i=1; AJvYcCXhXuhShFR+4ZYtNDaFWciLuvwzEaNUj4Fy4JyeXEd0Dla5rEHADjnzViuvLgjB9hHlO2NLtylSFHa83LCJ/ReZIz1OqSdZSIe6YTt9nLZeszFmhF6YZFEqzsG6MzstDIHp201em6jgSeA19iS8Ew+/GsZi3HDztgl9invdrj5rIKved39d X-Gm-Message-State: AOJu0Yxlp74g28Rhp2SK9oth94HLzWTnnbGTbCuFuYcQ5debs4tLWJ+V RwUUJv87SsF9sw4b9yjrzHaiboIBv+KTT437wotCheQmbPN92Pht X-Received: by 2002:a05:6512:3b98:b0:52c:841c:d15a with SMTP id 2adb3069b0e04-52c841cd44fmr3611477e87.7.1718030587281; Mon, 10 Jun 2024 07:43:07 -0700 (PDT) Received: from [10.0.0.42] (host-85-29-124-88.kaisa-laajakaista.fi. [85.29.124.88]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52c8857d03asm725070e87.261.2024.06.10.07.43.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 07:43:06 -0700 (PDT) Message-ID: <605944ac-6dfa-4620-84b6-392665cdc05d@gmail.com> Date: Mon, 10 Jun 2024 17:46:43 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] ASoC: ti: omap-hdmi: Fix too long driver name To: Primoz Fiser , 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 References: <20240610125847.773394-1-primoz.fiser@norik.com> Content-Language: en-US From: =?UTF-8?Q?P=C3=A9ter_Ujfalusi?= In-Reply-To: <20240610125847.773394-1-primoz.fiser@norik.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, On 6/10/24 3:58 PM, Primoz Fiser wrote: > 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' Thank you for the update, Acked-by: Peter Ujfalusi > Signed-off-by: Primoz Fiser > --- > Changes in v2: > - use "HDMI" instead of DRV_NAME (requested) > > 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..cf43ac19c4a6 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 = "HDMI"; > card->owner = THIS_MODULE; > card->dai_link = > devm_kzalloc(dev, sizeof(*(card->dai_link)), GFP_KERNEL); -- Péter