From patchwork Thu Aug 17 11:27:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Fitzgerald X-Patchwork-Id: 714396 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 83078EB64DD for ; Thu, 17 Aug 2023 11:29:05 +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 C3FC384C; Thu, 17 Aug 2023 13:28:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C3FC384C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1692271742; bh=BiOMTi+/qi7AvjpXGX5btRsBO+69PiV9CdFl2M2fm04=; h=From:To:CC:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=O2j6lKfrv79Dfxm/lNZSI0233gm5r8JsY/OIcLnDzwW/uQmax1NHBd6ttFckfc5rq 8TjFan8OOiGZ4hcIAiN23fmIGWTViB6kGBbE8Adjbn0HkpzyxcmfNJDEl9OWJI9j+Q EBog8mvQNokoQMvr2Xm19PZNb9xQxc76DsbMe9uk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7AA22F80567; Thu, 17 Aug 2023 13:27:32 +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 E5805F80558; Thu, 17 Aug 2023 13:27:31 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BA3D3F80553; Thu, 17 Aug 2023 13:27:25 +0200 (CEST) Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 037BEF80254 for ; Thu, 17 Aug 2023 13:27:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 037BEF80254 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=jH+jOS65 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 37HBMpDl018403; Thu, 17 Aug 2023 06:27:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=PODMain02222019; bh=7 1hP1qFBBQrsCWx8Ta62/z+hJB3mbnlDqwvJiEZuCyM=; b=jH+jOS65Dgle8IVg3 OByfuXG/r2E4V4evtIxRTPXZo6JMseAIPCtaFsdoXFMUkQ0ltSyg5nl8mtpLPdeG zsO9ViNpFw/QXIDExmYZX9QdQ5/AAqZdKV3kZ2+H4+RCT9s9zGDfd35UqsPOgmtT dj3KtCvs7KHcrHIGhFb0Hv4PVyZfMlbksHSyEQV+zRpuiq0QCIjhksZNv/KK4YJn QsmfwXRc8nMGNKGbD7VgAD4072/+GGGZKVlcum3tzlzOMMulhxzDdG9TotR91e9z hBZoJaduE3krW7GYh53CNxNlCLrPjDNl1obbRMP8IcSmeSAutrftU/Ie5JK4gspz VYUhQ== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3se6uhn8td-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Aug 2023 06:27:16 -0500 (CDT) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Thu, 17 Aug 2023 12:27:15 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.30 via Frontend Transport; Thu, 17 Aug 2023 12:27:15 +0100 Received: from EDIN4L06LR3.ad.cirrus.com (EDIN4L06LR3.ad.cirrus.com [198.61.65.68]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 086B63575; Thu, 17 Aug 2023 11:27:15 +0000 (UTC) From: Richard Fitzgerald To: CC: , , , Richard Fitzgerald Subject: [PATCH v2 0/2] ASoC: cs35l56: Update ACPI HID and property Date: Thu, 17 Aug 2023 12:27:10 +0100 Message-ID: <20230817112712.16637-1-rf@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Proofpoint-GUID: WwToYQLzcfST-iHR9Jef7H07jSR2nIfm X-Proofpoint-ORIG-GUID: WwToYQLzcfST-iHR9Jef7H07jSR2nIfm X-Proofpoint-Spam-Reason: safe Message-ID-Hash: IXPAZC3GCPWDIZZ3ERIEKW25TRCRLYE6 X-Message-ID-Hash: IXPAZC3GCPWDIZZ3ERIEKW25TRCRLYE6 X-MailFrom: prvs=3593b560b6=rf@opensource.cirrus.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: These two patches add an ACPI HID and update the way the platform- specific firmware identifier is extracted from the ACPI. CHANGES SINCE V1: - Rebased to apply on v6.4 and v6.5. - Change kstrdup() to devm_kstrdup() To apply on v6.6 a 1-line change is needed: static int cs35l56_get_firmware_uid(struct cs35l56_private *cs35l56) { - struct device *dev = cs35l56->dev; + struct device *dev = cs35l56->base.dev; Maciej Strozek (1): ASoC: cs35l56: Read firmware uuid from a device property instead of _SUB Simon Trimmer (1): ASoC: cs35l56: Add an ACPI match table sound/soc/codecs/cs35l56-i2c.c | 9 +++++++++ sound/soc/codecs/cs35l56-spi.c | 9 +++++++++ sound/soc/codecs/cs35l56.c | 31 ++++++++++++------------------- 3 files changed, 30 insertions(+), 19 deletions(-)