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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A5CD3C433F5 for ; Fri, 30 Sep 2022 08:31:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zXH4fIP353e641n0v5VwEjVNcgsi2PzM+4E41Lucg8c=; b=q5YeTettFLZUy7TLzR99MN32zR +5i/38qozrno6JAAadQU3dEmyLm6jm4fFYD8HdFrSROwaUcv7Q57+2GdyR533CxeeM4ChUY9JKg7G 00v7ESdRymxxliEOv1m8oPFkr6AxYe+OGaulsM8CDOBkHSh1Md8wlCTMSktBAX/v/4DPCwRE7XGy6 Gadm35f9SaJdRIvoVBfWZX4dVVQrk43bbdHMe07T4XIJunGRT5Dt6YRlxP/I7wuoIWaxY8NH+OrOn lTj5w3cfRjeQO9V6SQx2kGLZcnXnyFtZIG1iibWsUs014AjLI+XyXRIXvo0N37I4FOlc5hppLUvTK /ZmXMA0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeBQc-0084xL-Ot; Fri, 30 Sep 2022 08:31:26 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeBQR-0084sq-3n; Fri, 30 Sep 2022 08:31:16 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220930_013115_305149_06BC4A85 X-CRM114-Status: GOOD ( 11.99 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.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