Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3337033rwb; Fri, 30 Sep 2022 01:59:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7HBtsK9po2bg1rMPC7ilEmKs8LXrfqG/uGPw4c0GHFDJyr/gqZglM50JIsfr7vcJz2bOkg X-Received: by 2002:a63:18f:0:b0:43c:24d2:c0f7 with SMTP id 137-20020a63018f000000b0043c24d2c0f7mr6758332pgb.470.1664528342425; Fri, 30 Sep 2022 01:59:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664528342; cv=none; d=google.com; s=arc-20160816; b=hZkiqa3IXDJgMoCyMClAyW6DsXXrXP2DEimUg5zFpPsEiBbicsRTkpUr2S0AMcBCjY fVJJJNQ9846X9k9fT3EE5VfNAB0T+mXGZBv8xezsYJOfErGC8vMD/TYZLR0pyfGUHpl2 fZkFrsVE1nSzTFhk2JBXRf9b1CmUIEwyRJcKVloDLbtJJ24Pr0w9IycF12+xOCQ1shgA c/qCGPSZox5F9LbLpKZVlAR7aH4wG0BDSOgUA4Fdw61LIUY22zv7VI9xW6KfwJIXNGx0 666yu0lXXJ0hFeYMCDkL0VzwbDg6XkOb15JUktg9mIXRLS85fpVnBweLu8uJs7vXMDNF Sksg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=zXH4fIP353e641n0v5VwEjVNcgsi2PzM+4E41Lucg8c=; b=ELY+NyXl0l68fm9Eo+IZiawDZbUd73i/OgNEyy41xsvwq1zWOYeuMtTnb+Qv6rIE5J WVG5g8odQowbrKUYEBTtBdWhtYNAPA4ovA/lP58Gyn5GaCA2hcu+jgcu2yBGgzo35SAq Ra+Mm4NLVjrTe9jMR+r5EeGEwF/TbOXiqOETXHdJvevbkAHZdlux1OZ0TK7/l41zdnWZ SH3cp0HLYxN/eQMpDdXpzwQYBS/evo2WkWenNJ8dICQzzdmhvmL2/Ztk7JNyI6Qro6M/ G+tLyJZ/a0E5gLpOqEXc7h4eLd10DSs8W6/Oz1wXHQyZbuxf6G5VzKX1de8hxwpH06nO rIOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bx7NwB7o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a63d70a000000b004403dad2ca0si2269010pgg.851.2022.09.30.01.58.51; Fri, 30 Sep 2022 01:59:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bx7NwB7o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbiI3IbR (ORCPT + 99 others); Fri, 30 Sep 2022 04:31:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230438AbiI3IbP (ORCPT ); Fri, 30 Sep 2022 04:31:15 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5AA43AE7C for ; Fri, 30 Sep 2022 01:31:14 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 02D0066022BC; Fri, 30 Sep 2022 09:31:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1664526672; bh=hyzAPdeSGpzLQiqFjtdw3u+LQdIwNgVeLAnrDszyXUc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=bx7NwB7o+zEJHuy1oiC7fF5w0uTmDeG0jn/Yas48CisfPf2O/6C7qapFGW5BSsTjt ioRN5aq3EDcFInODuNhuPH//Q93ymyHk5mUBTLT+8L7eBNi75DI+nqj91m8LN7vpNL fIiwyaeOux/MdfGk+wn08ABf5jhxChB7KzHRveSC9wj2oEGHVLH1NX2zDkKrBXK8kf ZSg6F+tYYsMPWZUf2ySce0a6b87Vib5eurcHzZjCtIyMjuaQZdU1NQFa1F0CJp4T6J hEI85V/S4JoH0mtBvph0f0Lv75K2/rZCKcDsZB0JorJwm5ASr/VZtvvK8EIwTs74NB aRf2Slw9bcoBg== Message-ID: <2d378b26-2e08-72ee-a032-20aec436b6f4@collabora.com> Date: Fri, 30 Sep 2022 10:31:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH] ASoC: mediatek: mt8192-mt6359: Set the driver name for the card Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Mark Brown Cc: kernel@collabora.com, Jaroslav Kysela , Akihiko Odaki , Jiaxin Yu , Liam Girdwood , Matthias Brugger , Miaoqian Lin , Takashi Iwai , Tzung-Bi Shih , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20220929205453.1144142-1-nfraprado@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20220929205453.1144142-1-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 29/09/22 22:54, NĂ­colas F. R. A. Prado ha scritto: > The ASoC core automatically populates the driver name field in the card > from the card name if left unset. However, since the driver name can be > at most 16 characters long, wrapping will happen if the card name is > longer, which is the case for the mt8192-mt6359 driver. > > Explicitly set the driver name for the card in order to avoid said > wrapping and have a readable driver name exposed to userspace. > > Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno