From patchwork Fri Feb 17 11:08:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Tanure X-Patchwork-Id: 654917 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 38B8FC636D4 for ; Fri, 17 Feb 2023 11:11:06 +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 4AA2DEEF; Fri, 17 Feb 2023 12:10:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4AA2DEEF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1676632264; bh=2EN/utsOcccxHsG8Ua9etBSupDjzX48yoJ+ybSvNK94=; h=From:To:Subject:Date:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=RYS6E3DAjFImzi9R2whfohCRop1mRbiwkx0Xi1ku0WXHC+l1wOS2QT8o4SzW29/j4 EPyKoyz0w5TxHTpCXzoGz95UoalK2K+pQkvmIRaovBIQ4X4dUTCJZq3MLYxu6Wz1M5 DIhKTKcP4xi3+JVLK1ipilEvCJksteGiFExRwirE= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id A4F5FF800B6; Fri, 17 Feb 2023 12:09:48 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0C3A2F80527; Fri, 17 Feb 2023 12:09:42 +0100 (CET) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 65DFFF800B6 for ; Fri, 17 Feb 2023 12:09:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 65DFFF800B6 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=hBG26Ynz Received: from cryzen.lan (cpc87451-finc19-2-0-cust61.4-2.cable.virginm.net [82.11.51.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tanureal) by madras.collabora.co.uk (Postfix) with ESMTPSA id EFEDB660212E; Fri, 17 Feb 2023 11:09:33 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676632174; bh=2EN/utsOcccxHsG8Ua9etBSupDjzX48yoJ+ybSvNK94=; h=From:To:Cc:Subject:Date:From; b=hBG26YnzPlGdkTQORH6zGjRvl6FmBicptS+a8P4xEA1kzV6MoQ90iRgKnQFMNL/D5 Zmb9GlPwJiKWuzSdc8J2rTKJvMzjCjjaW3QVtOwavxMuub2QZysbyP7c/E1Qvgg/vZ ZF7auZXnf4vbBLCuZKFnOW1LWY4mBtasYteGGPYlP1wGp1TFsVH9P5O/N2kCUboyvW 5baqQS/KH8WphRkkaOekCl9/BJRaAC/nZFS3eiUYTY50yfpFMWtPkUjXA2lJjRUczD Epav0chkx+XbpjU55xeuTNiEEbpARIWA+M0BED+4dpTBbZ7Xy3e8YOYtq6Oro+K0Yz HvBjnkl10CpMQ== From: Lucas Tanure To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vijendar Mukunda Subject: [PATCH v2 0/9] Refactor Vangogh acp5x machine driver Date: Fri, 17 Feb 2023 11:08:41 +0000 Message-Id: <20230217110850.1045250-1-lucas.tanure@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Message-ID-Hash: MBHO5TFKWZVBLVSAFVDBHABSQHCZQZ2N X-Message-ID-Hash: MBHO5TFKWZVBLVSAFVDBHABSQHCZQZ2N X-MailFrom: lucas.tanure@collabora.com 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 CC: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Lucas Tanure , kernel@collabora.com X-Mailman-Version: 3.3.8 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: Provide small fixes and refactor the code for easier insertion of a new platform using the same acp5x machine driver. Changes since V1: - Don't use smaller variable names - Don't use 100 limit for all lines - Use component prefixes to avoid collisions - Improved commit messages Lucas Tanure (9): ASoC: amd: vangogh: Remove unnecessary init function ASoC: amd: vangogh: Small code refactor ASoC: amd: vangogh: use sizeof of variable instead of struct type ASoC: amd: vangogh: remove unnecessarily included headers ASoC: amd: vangogh: use for_each_rtd_components instead of for ASoC: amd: vangogh: Check Bit Clock rate before snd_soc_dai_set_pll ASoC: amd: vangogh: Move nau8821 and CPU side code up for future platform ASoC: amd: vangogh: Centralize strings definition ASoC: amd: vangogh: Add components prefix in structs and function names sound/soc/amd/vangogh/acp5x-mach.c | 297 ++++++++++++++--------------- 1 file changed, 144 insertions(+), 153 deletions(-)