From patchwork Mon Jun 12 09:05:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda X-Patchwork-Id: 13275862 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 175E2C7EE23 for ; Mon, 12 Jun 2023 09:07:33 +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 746F6822; Mon, 12 Jun 2023 11:06:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 746F6822 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1686560850; bh=u4u7hEhZSgxD4Q24UIMt8SKbPVPeHlqMVl5rw50ldGE=; h=From:Subject:Date:To:Cc:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=q7530O9nPDt/rfWekPVxupoxx6whdMHXBpJkftZzGvtjU3LIakbz7hhANmbgfOixU AQEu+yRIaWRtjr8deEOLs/ws9Gk9j5EphwI8o3AkhiDl47upk544RY3eyj7ezX/bqV uiQQj/eMmMLAJvvZFdnyY8+RvJiwjnKOh5I2wrog= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1DCD3F80149; Mon, 12 Jun 2023 11:06:18 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 758ADF80149; Mon, 12 Jun 2023 11:06:17 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BC3AFF80155; Mon, 12 Jun 2023 11:06:13 +0200 (CEST) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 BACBDF800BA for ; Mon, 12 Jun 2023 11:06:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BACBDF800BA Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=MPjcE+/r Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f62cf9755eso4644541e87.1 for ; Mon, 12 Jun 2023 02:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1686560765; x=1689152765; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=Og9TBGAwPn+7cIBOXsPpips1XtfHFEVu/z5r53B7A8w=; b=MPjcE+/rzgc7kcCRs8WWQAkWJPGqXjGOhIyM7CYg626COM8DZM0R6GAVFHrsem0gZo FPovE9X7d7I6k0vyte//F3QcCb/krQSJNRZTtGTpQWY1Zs1ZAtx4C29BW1ZuABgy22qf d6a7rAXInnJMPCSrlJQv0okSfjsTF0DE6ie90= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686560765; x=1689152765; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Og9TBGAwPn+7cIBOXsPpips1XtfHFEVu/z5r53B7A8w=; b=VWIwGNDjbaJ8PQGD0bwgT8iuFp/CY6WdiGdqouRLCYMyD2nbMCMBr0z6dXzGeKzCEO Az1/nULVkDT/6QLOkyuS+gf41qGghgg+q5qbhejHZXsCx8DBlkO741IeCB7FGFZYI+Sd 90jPRuljCa/i5GMtLrGCa7mreEqcb9i/bYhqJxqVrvYSI7rwdGMPqtJxNv77zGsJxE2p FDoDkpTpGKbyzqPoe8ghJBBQ3G9d10SLfArKRGXZTVVDT6LMetKTEdcPwrug3xZr5Nd4 Bbw0UaxygfIHeYOpgdJUzwGxfHFF3xHuz0DX4/MQ7V6lgxWE5ctQ0ZeuoKiX836Dc0+J OqIw== X-Gm-Message-State: AC+VfDy9jmacYN8zOZS9tFbL9g0NTl8arsUrO9slLv/csCVbz7dA+zzV UAT7IA9arEftPZJbIfpPkkbVJg== X-Google-Smtp-Source: ACHHUZ4AFtdtk5vbc84pFx8fmkaQZYYeUjmkPCbIs8hGaLKWkMZPhnp7T4qVI3RpJ/wytxakqMSOwg== X-Received: by 2002:a2e:8401:0:b0:2aa:3cee:c174 with SMTP id z1-20020a2e8401000000b002aa3ceec174mr2147269ljg.13.1686560765135; Mon, 12 Jun 2023 02:06:05 -0700 (PDT) Received: from alco.roam.corp.google.com ([2620:0:1059:10:82e9:e3cf:d6f0:4c6a]) by smtp.gmail.com with ESMTPSA id o10-20020a1709061d4a00b0096a742beb68sm4867275ejh.201.2023.06.12.02.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 02:06:04 -0700 (PDT) From: Ricardo Ribalda Delgado Subject: [PATCH v2 0/2] ASoC: mediatek: mt8173: Fix error paths Date: Mon, 12 Jun 2023 11:05:30 +0200 Message-Id: <20230612-mt8173-fixup-v2-0-432aa99ce24d@chromium.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANrfhmQC/3WNOw6DMBBEr4Jcx5HXKA6kyj0iCv/AW4DRGqxEi LvHUKVJN292R29jyRP6xB7VxshnTBinAvJSMRv0NHiOrjCTQtZCgeTj0sC95j2+15kbq4TUrXJ GO1YmRifPDenJhmP0+3ucZ/Iln7ZXVzhgWiJ9TnmGo/3jycCBN9DfbCtqUA6eNlAccR2vkQbW7 fv+BeYEHJPKAAAA To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Matthias Brugger , AngeloGioacchino Del Regno , Kuninori Morimoto Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Ricardo Ribalda Delgado , Dan Carpenter , stable@kernel.org X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=761; i=ribalda@chromium.org; h=from:subject:message-id; bh=u4u7hEhZSgxD4Q24UIMt8SKbPVPeHlqMVl5rw50ldGE=; b=owEBbQKS/ZANAwAKAdE30T7POsSIAcsmYgBkht/dkMYqHwnIEHZ+41JKijVvqLzD6KdwPtBHF P52bsfcRM6JAjMEAAEKAB0WIQREDzjr+/4oCDLSsx7RN9E+zzrEiAUCZIbf3QAKCRDRN9E+zzrE iIVVD/0ewCXTJuAPyBW65v11fUyArpepY+0UQh6uLOiQfVArXUMuNaQu2qYTOTCRbQwUSx8T1Yi tobpmaXoHg5Fj+ZChbIz0CCOuaOxEMzPGX/vNWZcFS85T5YAesx2ur4WM3S8tic6IcRRQnDdGgP GCRt/PDdn4h7nxOw5Ur/7waoXc85mnWerg3iwkrRmnAM5p8fdxmLBlOvU4vXYnU9kctdO/Vd+A/ ffnMjOdxSjR2OwM61CAgwwH78pFh2m10/B+spY8YSzLuNdc8FECn/cSb2lqKXdWuXqIQM3Pc2u3 floqMLaH/OyVeFxyL/RMgDizstyHN3KlfhWmvnVdQtK0uC797lIqxFAjDQmsPqNo/qODGu4sNyD 1ii76GTmZwZbBhVEhY/duPnnHCcHaXoW2qUsqdTp7G+kQOi4GhTNu3gqkR8tnDhOwJqU92ppmT6 1a4M0lBqysOBdbhvDjxCfM62xyXw9Ibn0AL+v7PY7VPkD4Qq8jhIK7iaj9/sZ4k2RvtadLNNuBB bnK2Qky9LICNc4JCdD1qZxl/NcalR0eFzqJhjqDGjKK/UTOOKYpgLCtDMjRNtU0UniyLpcJvlAw UzEkU0U8IuUdmEUk9B4okALWK6iHVmJkZ28sKcVLCAOv+bdAjtyeXbpcMo5oClTpEwuoZdKL1qD 5ntBFv1Zxs4PvNw== X-Developer-Key: i=ribalda@chromium.org; a=openpgp; fpr=9EC3BB66E2FC129A6F90B39556A0D81F9F782DA9 Message-ID-Hash: WDYGGOBARR7TJZSUS7JMFY6QFAZLQQ7O X-Message-ID-Hash: WDYGGOBARR7TJZSUS7JMFY6QFAZLQQ7O X-MailFrom: ribalda@chromium.org 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 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: ASoC: mediatek: mt8173, presented a couple of error paths errors, lets fix them. Signed-off-by: Ricardo Ribalda Delgado --- Changes in v2: - Fix other error paths bugs, Thanks Dan! - Link to v1: https://lore.kernel.org/r/20230612-mt8173-fixup-v1-1-81f5c90316d1@chromium.org --- Ricardo Ribalda Delgado (2): ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path ASoC: mediatek: mt8173: Fix irq error path sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) --- base-commit: 858fd168a95c5b9669aac8db6c14a9aeab446375 change-id: 20230612-mt8173-fixup-bc602a96dbad Best regards,