From patchwork Sat Sep 2 21:06:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13373152 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 C3923C83F2C for ; Sat, 2 Sep 2023 21:08:24 +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 D8FA7210; Sat, 2 Sep 2023 23:07:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D8FA7210 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1693688901; bh=OwodNzQow81cioZ/x0NFsPD4e4UBN2L+BF3m/k/eTjY=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=USZVVoEpyY9MCHjlBbIH8OVYDdSF+0PhAaG6IMCAJi07AOKh8X/RzXATzGcRnAUmz rQe7IwRthxwcD1tSvQbmWR3PNoHfnNugWZCZIOPDkO4EvbxRF4N2mys8Rrfdy00ZIf Ijr8A2rWa7P09caW8Et1QvaVZZ0i0XXlPkD2BmTI= Received: by alsa1.perex.cz (Postfix, from userid 50401) id F0CCFF80558; Sat, 2 Sep 2023 23:07:04 +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 7CBF0F80527; Sat, 2 Sep 2023 23:07:04 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5D0D4F804F3; Sat, 2 Sep 2023 23:06:34 +0200 (CEST) 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 AEE1DF80249 for ; Sat, 2 Sep 2023 23:06:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AEE1DF80249 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=IuNe7fdR Received: from localhost (unknown [81.18.92.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9EF9B6607285; Sat, 2 Sep 2023 22:06:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1693688785; bh=OwodNzQow81cioZ/x0NFsPD4e4UBN2L+BF3m/k/eTjY=; h=From:To:Cc:Subject:Date:From; b=IuNe7fdRvYqd600PCKP9mxCOAAYRUEXAC9kmN9WRd3HtS/cl/gi7nOaLX0tEgnjvi V4b1wpNzZOKpHS3iMBK87N8LUFSObzRIh/LyAT3mHbYyy96jd4FDKZr5qSFMMbQP3n gwyKEyxpiH6g/i/0dLvgui10KydGZOR2v7QIQXSMjHp+BB8guBkNMhkQi9PDKc1YF0 7P7ynyUi4Mun29FBQOv9KyPTPusDwD07eNMNGb6X70GqqziexbMGNtAniodCiZEk7A uoGKYG8RjeMmsP9/2uoYxDxhVAvdpDnLr/W85TV/GKVO/3TEBJ0BEFqTJKEVDZnYYu MLOB46NUBChvQ== From: Cristian Ciocaltea To: James Schulman , David Rhodes , Richard Fitzgerald , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown , Stefan Binding , Charles Keepax Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH 0/9] Improve CS35l41 ALSA SoC audio driver Date: Sun, 3 Sep 2023 00:06:12 +0300 Message-ID: <20230902210621.1184693-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Message-ID-Hash: B75TBY7R2JOL7BALQ2GXYFQLYCRDI6HP X-Message-ID-Hash: B75TBY7R2JOL7BALQ2GXYFQLYCRDI6HP X-MailFrom: cristian.ciocaltea@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 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: This patch series contains several fixes and improvements to the CS35l41 audio codec driver. It has been verified on Valve's Steam Deck. Cristian Ciocaltea (9): ASoC: cs35l41: Handle mdsync_down reg write errors ASoC: cs35l41: Handle mdsync_up reg write errors ASoC: cs35l41: Initialize completion object before requesting IRQ ASoC: cs35l41: Fix broken shared boost activation ASoC: cs35l41: Rename pll_lock to pll_lock_done ASoC: cs35l41: Make use of dev_err_probe() ASoC: cs35l41: Verify PM runtime resume errors in IRQ handler ASoC: cs35l41: Use modern pm_ops ASoC: cs35l41: Use devm_pm_runtime_enable() include/sound/cs35l41.h | 5 +- sound/soc/codecs/cs35l41-i2c.c | 11 ++- sound/soc/codecs/cs35l41-lib.c | 83 ++++++++++++++++------ sound/soc/codecs/cs35l41-spi.c | 11 ++- sound/soc/codecs/cs35l41.c | 121 ++++++++++++++++++++++----------- sound/soc/codecs/cs35l41.h | 4 +- 6 files changed, 158 insertions(+), 77 deletions(-)