From patchwork Thu Jun 8 08:47:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 10470 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp144548vqr; Thu, 8 Jun 2023 02:12:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UCjpD3JN5IJAxGCDYQR380Ml0aWMLTXVH/duZfoQ6GBFgYRfFpJybPInqb0N0yHUjhHuS X-Received: by 2002:a17:902:e810:b0:1b2:4b28:793c with SMTP id u16-20020a170902e81000b001b24b28793cmr6626658plg.29.1686215528414; Thu, 08 Jun 2023 02:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686215528; cv=none; d=google.com; s=arc-20160816; b=b6Ne+YItWQRwbzjxYcxzzleaoPkxRd9cKtS3yWyVp1Qd3iRXN1u9NTA088ksPCpDNj xbmlOsBdoDr3ayySkjLRLk8Wz+AXg3x1gFm032tfM9u/h96svbMg4TFWBDvxNGLMYWMF I/pivWsgY8PmmUdadeAwZhi6a4nTPXXluDNqkjSorzP2RQ7OvTblMD4oUcqm0odAOv3K DTb8F281rr9NeeBZE83IALeqOZrx9SCd+pYiJLJoJzVsRGdwjmVhgpSseRULdI9xG6YL d596d8IuXspJiGZ8zI5SAS/7HO2xVFNnX2fmwFT954yGZA1woMPMnafC4J5ulLqMsyQH 6YVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WasakgFYGOLbX2Qu0yCeuA6tv6X+DAASxMvVKVDJF54=; b=qh0GktFtG8GuQg12xCHbIEyP6R6SZyj+t0qIpSR3y+SDARwLANF8BvRVRUJRAkEAEr qVIXEX+LkHHZQmbuBhVHtW5pgBR5D9T7PYjPYYOgRYT2d6qorVdiwuZTknEwakkVkHEJ UaTJiQggIk5Dxzeqfrif+GcSmzRBjCBG73nJvgY8gnD5cdh0JjDagtGgBRIlig1s9UTn yz9l4wPF6n07+jvQtS0m6KgormJ7YSexYAefUyNzb4DEA9m/M/NtbFMHOPhH3/CL1Ihz M02gQzVjYiGZlJMUzMrCxHa1CAIKm2b30Ua1DPi6Bf+S1k18txRGAru0n3ySXkvZG411 52eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JZVCfEXa; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v2-20020a170903238200b001a97fd670e6si763442plh.208.2023.06.08.02.11.55; Thu, 08 Jun 2023 02:12:08 -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=JZVCfEXa; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235671AbjFHIr4 (ORCPT + 99 others); Thu, 8 Jun 2023 04:47:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235609AbjFHIri (ORCPT ); Thu, 8 Jun 2023 04:47:38 -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 948212729 for ; Thu, 8 Jun 2023 01:47:37 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (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: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 5548A66058B2; Thu, 8 Jun 2023 09:47:35 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686214056; bh=/eSnfxogbScGlNOOjeGiLsCkqg34znU4OI0UheFc0FI=; h=From:To:Cc:Subject:Date:From; b=JZVCfEXagXlNeJVB5syTmC2EN4+t98xcDijANVzj/YBw8siGAZ1IY9sHCDYfqBQLQ onm1CV/QH2vC8VYFasLlfK9UUGYCkDLw7gTsKUNEVP2pa51/q4mTa+1Dajk7UvLU6+ s2TSj6I6LbY8POa1PKywP57ol/mWO3T+YDtypzdjGhMg7ytJmWV5jQfW1yOWYK9ZSf ABp4ym3RTVWSzre1o8uNiQVxX6rJQ7ctE606ISvTSRvp2BAP+GrFoMmSE87o17qQgS zUnhtW2umIK1+2ZK7sZa/OEFeUnwcxwgx9414TPXOBoFwkcgXdTWPnQQmUAchmlwuM JyxuANLoP+Tlg== From: AngeloGioacchino Del Regno To: broonie@kernel.org Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, trevor.wu@mediatek.com, amergnat@baylibre.com, dan.carpenter@linaro.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: [PATCH 0/5] ASoC: mt8188-mt6359: Cleanups Date: Thu, 8 Jun 2023 10:47:22 +0200 Message-Id: <20230608084727.74403-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768125133874896276?= X-GMAIL-MSGID: =?utf-8?q?1768125133874896276?= This series performs some cleanups to the mt8188-mt6359 driver, including usage of bitfield macros, adding definitions of register fields and some others for readability and consistency. AngeloGioacchino Del Regno (4): ASoC: mediatek: mt8188-mt6359: Compress of_device_id entries ASoC: mediatek: mt8188-mt6359: Cleanup return 0 disguised as return ret ASoC: mediatek: mt8188-mt6359: Clean up log levels ASoC: mediatek: mt8188-mt6359: Use bitfield macros for registers Dan Carpenter (1): ASoC: mediatek: mt8188-mt6359: clean up a return in codec_init sound/soc/mediatek/mt8188/mt8188-mt6359.c | 87 ++++++++++++----------- 1 file changed, 45 insertions(+), 42 deletions(-)