From patchwork Wed Nov 29 21:28:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748530 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 40BEFC10DC1 for ; Wed, 29 Nov 2023 21:29: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 8649BDEB; Wed, 29 Nov 2023 22:29:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8649BDEB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293371; bh=VssnOm4PeCD2AYkAkjJNDkBOjVBXB/SmcNyQhhRGYuA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=eXXQ69X1NiQUZPtLGrIQRNusRs2/ky+xskBfUIfIZGvRFqyR7K7LFfEUr3qESYxrD q22LDg7XDIjqgqqKDLkEssEKwngtQ7vUBRUQiK7Kbuxe19mYTdUfkfWwhh9IvOrFq2 Nuh0TRvKS/+yb8gGlC+csdoChagKGcZa37OMVDGA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 095F0F80589; Wed, 29 Nov 2023 22:28:58 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7B127F805A8; Wed, 29 Nov 2023 22:28:57 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5AE46F8025A; Wed, 29 Nov 2023 22:28:50 +0100 (CET) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (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 1FB27F800F5 for ; Wed, 29 Nov 2023 22:28:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1FB27F800F5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Oz9M4cI1 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2c9c39b7923so3753691fa.0 for ; Wed, 29 Nov 2023 13:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293323; x=1701898123; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=uGzqJZeCIvHWgx50HcN8P2Sdt/SHVZafM+S/3T4/ITk=; b=Oz9M4cI1HnvF1+Cr1IhIU+ht8kjzYC+6LIeQT2BJRH9+tgc8ARy1+ZYm55noMS2JPb nKEGuqQ8PEZ/CHhU8mC7dTcUkQQMubkekOIym4vP8Y1r2PM7A+r5n8QUaD/Hs5qmfKSr HgV7ae6wpOVw5KpTMs9I+Zo8Qs8NAz65uxIyc9UU9DtJK5XQWj9giIMFAuYdyxWKHOC0 yRybU1o+Ntq7J+L2oNT8FdeMNWEF6E3gNsf4TbKY6IU4nYrsNCYo14dBDF0jZxnjjYAJ 31Bv40jfZGn8m+4H91eq4H0nF6/7ZuoC+yE4cziNvAdqTgz8B9psqKLsGez995Xa5Z9/ n/og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293323; x=1701898123; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uGzqJZeCIvHWgx50HcN8P2Sdt/SHVZafM+S/3T4/ITk=; b=XQ70XtoeYpHmazkXgRp3gh1iKs1pitlWUOm0sGFvi4sR8Wu0UbVwMVwseWH1mwUaQO 6KrLWQlxkeEielGJCM/PzDgQ/oo+hPNc4/lKtxsy1VEJL5OrvzYG9xDs7/pFTHbtHe5T TepjDY3XEk9XlkMwFO9jD1+P+/VnDIz/ZwHI3hMg6j+fFE6Ny8zFThhWIfTddXEPsJQw B0z8+oNHGj3bAPj5mCdnFNTyKrn5q/TsgsMvINRUvr5PZXrQ5Le5QlCjtACMSdoTEMSf Q3TM+Iv8XcT+5EiacE+cwEscGuQqQbPPmBSH2226oHvaVlXKYabV8vp+RHTy96OBbB3c 6MOA== X-Gm-Message-State: AOJu0YzFHh+wRJZh0YK4eO1RdcCq4Qvm1k1MZxF/hY2BR/50DGcY8TyV 68SmxydwN5RAiExUTP42+RoYww== X-Google-Smtp-Source: AGHT+IH2iP1+SnhRh5dk6NH/SIXt5a1DgU9BeCKEI9Kd5MNkN/wjAcRvj26p+QcR+8v7vqnF7DFCiA== X-Received: by 2002:a05:651c:b27:b0:2c9:a9ba:97ec with SMTP id b39-20020a05651c0b2700b002c9a9ba97ecmr6389122ljr.38.1701293322448; Wed, 29 Nov 2023 13:28:42 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:41 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:37 +0100 Subject: [PATCH 01/10] ASoC: cs35l32: Drop legacy include MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-1-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: WY6LHXNYM57DFHMP55MPHCIWS7OH2C6M X-Message-ID-Hash: WY6LHXNYM57DFHMP55MPHCIWS7OH2C6M X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO API but does not use any symbols from it. Drop the include. Signed-off-by: Linus Walleij --- sound/soc/codecs/cs35l32.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/cs35l32.c b/sound/soc/codecs/cs35l32.c index 138040618438..d1350ffbf3bd 100644 --- a/sound/soc/codecs/cs35l32.c +++ b/sound/soc/codecs/cs35l32.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include From patchwork Wed Nov 29 21:28:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748529 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 361D4C4167B for ; Wed, 29 Nov 2023 21:30:07 +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 C405384D; Wed, 29 Nov 2023 22:29:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C405384D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293404; bh=sv7wIqGoko8jDyDNalpgXrfOYBuhs77xTTqM6kb7mvQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=VMB/TGpkLiI7Z/DlLganH/btcXmpSmWJV7XPpBgzr9Ld9vb92OKp9w1tOquWYymKn 7tmIuC2Ik2lIslXbYRCoTT+bJFLqYBEowL9PovIze7gIrkw7+bCs0X0c7fokojtH3T OtGBnpSgXBsWpsSZfZjpGAP9FFFfpnh7zS6me3tE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9FFB2F805F2; Wed, 29 Nov 2023 22:29:06 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B3351F805F3; Wed, 29 Nov 2023 22:29:05 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DA932F805D8; Wed, 29 Nov 2023 22:29:00 +0100 (CET) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 42246F8016E for ; Wed, 29 Nov 2023 22:28:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 42246F8016E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Y42SlOJJ Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c9b5e50c1fso4100561fa.0 for ; Wed, 29 Nov 2023 13:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293323; x=1701898123; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=w98h2S9ziwqYlZ5eRbk63Kp1zoQv2lCTleH6DrVq65w=; b=Y42SlOJJWGP3xnpOGAVwIICosB4oWK1xlUmEjZYlgdx2O8I5QA0hBxRm8JIeOvVM/H tat1R3HQeO/Qc2tAfynxpwBnDHjAkHiYe4mtGcLVteUHCLBRqSnQhvq4IuzBjc7mkK5x tRwF2KYxxXY5WkDzaE8hRrhafVyRYSasNXS9lxAC+v3dxkUoXkT0SB6DfdSAEfVjXl0d 9FVVg6K4jPEO5+Ic5ejFR4jmTspwcDa8b7g3jrM+Hs1iMDnCa93N0lBCYHRSL40+FBFh kgmQiWqCHN5PjsiOxB4YEZZj2kTUmVTefRiOP0ODTq/9CEyozfAwGmQ7Fixj+YAbXl3Q 3N9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293323; x=1701898123; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w98h2S9ziwqYlZ5eRbk63Kp1zoQv2lCTleH6DrVq65w=; b=A7Qn6pAzJterBe9SlTuw94tIqeDseFPpm1L0xGvSMLxGvWZIYXInekgpUQO8/ezZaM N0Pu5IxiT2wl2blM/lkqhru5SJIBVVK2PT5iA/5eW+SFvg6zqZmWGKM9wbzSSgQFVG+w oGZbfxymNhrbJ/Nt/zPiVXzGTXTQu7bl/f7McsKcS/ZTS98EUUFm7UNlczoQrB1QF44B VP8Y4l/Z2lvjBXbHhUb20rMKZCg6FSGYbg3kmCpKHF8WdNVQIe8NAo8aTSKlQqJWCbaR whkREWGnbk6rDyNRbtiMBXNQDo3aH0QKAfM6MqrvPeSWfO/ySvSbbM4eq14fAUuWVNrO QbGg== X-Gm-Message-State: AOJu0YwD0UAy2NOc4UqqTq+bn+j9AMB2zwfLiEHbyA296BMQOagSALuW CjBwkCYywzIKsVFiU40cQD2jPg== X-Google-Smtp-Source: AGHT+IEC56sw8UX2ii4LX1W7ed8InaZsSu/jcEIqr13PU5ZEBtax1tJX/hGuJk6YOIA9moirDg3WrA== X-Received: by 2002:a2e:874b:0:b0:2c9:c58a:b2f4 with SMTP id q11-20020a2e874b000000b002c9c58ab2f4mr1049900ljj.41.1701293323490; Wed, 29 Nov 2023 13:28:43 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:43 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:38 +0100 Subject: [PATCH 02/10] ASoC: cs35l33: Fix GPIO name and drop legacy include MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-2-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: TKMBMR7D5CDB6G2MY6V72BZBLJOTBYFZ X-Message-ID-Hash: TKMBMR7D5CDB6G2MY6V72BZBLJOTBYFZ X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO APIs and but does not use any symbols from any of them. Drop the includes. Further the driver is requesting "reset-gpios" rather than just "gpios" from the GPIO framework. This is wrong because the gpiolib core will add "-gpios" before processing the request from e.g. device tree. Drop the suffix. The last problem means that the optional RESET GPIO has never been properly retrieved and used even if it existed, but nobody noticed. Fixes: 3333cb7187b9 ("ASoC: cs35l33: Initial commit of the cs35l33 CODEC driver.") Signed-off-by: Linus Walleij --- sound/soc/codecs/cs35l33.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/codecs/cs35l33.c b/sound/soc/codecs/cs35l33.c index 4010a2d33a33..a19a2bafb37c 100644 --- a/sound/soc/codecs/cs35l33.c +++ b/sound/soc/codecs/cs35l33.c @@ -22,13 +22,11 @@ #include #include #include -#include #include #include #include #include #include -#include #include #include "cs35l33.h" @@ -1165,7 +1163,7 @@ static int cs35l33_i2c_probe(struct i2c_client *i2c_client) /* We could issue !RST or skip it based on AMP topology */ cs35l33->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, - "reset-gpios", GPIOD_OUT_HIGH); + "reset", GPIOD_OUT_HIGH); if (IS_ERR(cs35l33->reset_gpio)) { dev_err(&i2c_client->dev, "%s ERROR: Can't get reset GPIO\n", __func__); From patchwork Wed Nov 29 21:28:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748103 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 67E76C4167B for ; Wed, 29 Nov 2023 21:32: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 5A025DED; Wed, 29 Nov 2023 22:31:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5A025DED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293524; bh=p7OgoyRtcwYF2aovGgzjdn3WOBNxzxmrE8N7rbGS4Ok=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=N4U+MylpONOZdj825PTXrM861y7jvI8uoIvLMSrKoC2yU84zIr7x1uUn4ScqaxpFW wJk3X8AIZ++nrqyjOsO644QdPuWiQKAZ9oz2nfiDlyLjDcqmrCD7403xd9UyPDgkXR /vgyxQvNYFZOxivgS/7b3u/dgyoAdzp9zBbaRUAI= Received: by alsa1.perex.cz (Postfix, from userid 50401) id BD0B8F806D8; Wed, 29 Nov 2023 22:29:46 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 0AB04F806D7; Wed, 29 Nov 2023 22:29:46 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 63CB3F80570; Wed, 29 Nov 2023 22:29:40 +0100 (CET) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 BF913F801D5 for ; Wed, 29 Nov 2023 22:28:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BF913F801D5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=k501R2Gs Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c9b7bd6fffso3725451fa.3 for ; Wed, 29 Nov 2023 13:28:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293324; x=1701898124; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gxA1zyyyxC7/6y6RpRxRpLmaP1pTY49ZhzDzMcyXsOY=; b=k501R2GsK2iOPcAsjXhIkWSmoLzNSNlhmaTt6ouxWofPzpN9Znr2KlNO9/LKeLSczx 94aBL2JS6x/+j2J7Y4a16nwuj4olVds1sGOG90u0iRC+db/9X46JwwKnHnAbUs2/yQCM KM7348xw4Ohjkixa1Vh+9W2oCK3LR2hgGGVlU/5XBAvysTo/auHshwc3bMtO/y31x9mT GAcv2XRdH8/yYkpZnKz66oCCwyhhblz3ou33TgXLksb9lTwERJsWTMKfP57YFbrznJNz CNd+RpCMwpDFlwYc+pGUhYuERlosbgxj93YrenBNU9DFCNDE3OobttbnWol0asCNAMUA mysA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293324; x=1701898124; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gxA1zyyyxC7/6y6RpRxRpLmaP1pTY49ZhzDzMcyXsOY=; b=ClSMb2+8SFXgMUgOjzRpqfGOh4L/ZVZ3JKIH1W/ma0HpsvQjcG/mMFB0bM/kCJj6ne OZXrI3Zrc9psVQrUBnuXhWNckw5AAniCoYGLrMqbqaRLNlSjIBHUizNFbiOTT2/3eIZh jyTjVbeW3Gq1OtcfVYazPqxpet55BYYNW2pS98qMV5VV13s95RsHY2WbdxPkplNfpGUP jvVn25lA35HtxOJAjsjtRLWh6kZFRHSHSeDico/mUJC91PrN5IysYRL0uodIMN9k6gk2 k4ZCmio7WHqJF43mox5ZqHOjIC11bPqjNsIhRyibqdeFT15hbfTxfDULfYIC9Kom9qJR YqMg== X-Gm-Message-State: AOJu0Yxg2NTB2GZptPGdoEjGyWAr/0Rw9JLM/sEjK7qGvUQ1k8YVF+hu LQvzdbPlraTKygIUOdHakGiI4w== X-Google-Smtp-Source: AGHT+IH2XK3VmzyApGKH2dJRP5mNU0HGdkujQYH19VxvKR71Nk9rdeM2oIikSY71v9WV2Mt3FvghIA== X-Received: by 2002:a2e:8709:0:b0:2c9:c192:42a8 with SMTP id m9-20020a2e8709000000b002c9c19242a8mr1654073lji.38.1701293324577; Wed, 29 Nov 2023 13:28:44 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:44 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:39 +0100 Subject: [PATCH 03/10] ASoC: cs35l34: Fix GPIO name and drop legacy include MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-3-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: IHAO4VVFLJR752A54HOIY2JZPP3JFVVT X-Message-ID-Hash: IHAO4VVFLJR752A54HOIY2JZPP3JFVVT X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO APIs and but does not use any symbols from any of them. Drop the includes. Further the driver is requesting "reset-gpios" rather than just "gpios" from the GPIO framework. This is wrong because the gpiolib core will add "-gpios" before processing the request from e.g. device tree. Drop the suffix. The last problem means that the optional RESET GPIO has never been properly retrieved and used even if it existed, but nobody noticed. Fixes: c1124c09e103 ("ASoC: cs35l34: Initial commit of the cs35l34 CODEC driver.") Signed-off-by: Linus Walleij --- sound/soc/codecs/cs35l34.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/codecs/cs35l34.c b/sound/soc/codecs/cs35l34.c index e5871736fa29..cca59de66b73 100644 --- a/sound/soc/codecs/cs35l34.c +++ b/sound/soc/codecs/cs35l34.c @@ -20,14 +20,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -1061,7 +1059,7 @@ static int cs35l34_i2c_probe(struct i2c_client *i2c_client) dev_err(&i2c_client->dev, "Failed to request IRQ: %d\n", ret); cs35l34->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, - "reset-gpios", GPIOD_OUT_LOW); + "reset", GPIOD_OUT_LOW); if (IS_ERR(cs35l34->reset_gpio)) { ret = PTR_ERR(cs35l34->reset_gpio); goto err_regulator; From patchwork Wed Nov 29 21:28:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748525 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 88A3AC4167B for ; Wed, 29 Nov 2023 21:32:21 +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 01C36AEA; Wed, 29 Nov 2023 22:32:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 01C36AEA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293540; bh=yB5pKzTCYEUlbxwJMzl/ckqbC/X80Zt2tURy9XN/d64=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=h+fIUy1Idf6rpCy4gv+DlwkcuBZJBKZ8eD7AcJzRblyDOsi34XUyK0yrGjyoiqSZd ErebpSP2D5P3TYeG7CjyLdnl/l4cUgBO4+UbVP2KAKBl46LKMa2KA9c6ZLdcVw/Qiv 3EqElHtyQvNACT4YCGGEjFEZ2SOwvmJSGzKelttk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 91C75F806E5; Wed, 29 Nov 2023 22:29:48 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 2E090F806ED; Wed, 29 Nov 2023 22:29:48 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E0382F80568; Wed, 29 Nov 2023 22:29:40 +0100 (CET) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (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 05DDCF80236 for ; Wed, 29 Nov 2023 22:28:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 05DDCF80236 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Pxj2kU1U Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2c9b9191722so3738571fa.1 for ; Wed, 29 Nov 2023 13:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293326; x=1701898126; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=YU/umhZ4xMv6PXObbvZL6R5y01gsoGYZgYp3KJFvARs=; b=Pxj2kU1UtLyozBRqssmiEuJ6WBCA8h+wYxu7zHM7G+JnjEoIFEd6z1fUQfZOse1h5C leMJjyjBvsUjv/LZK6oqPFlKXB9dQ8kQ9QmY08kL95VyIk8JdjA2ybJq/dExITd/2rlg v3SoejMgrWZGmbWQcLcoz2GpqsOG1Ja5osJtSVJ5TMBNIRYqKr5wmvpJ4UIIn8J8Ij61 KqRHhLQQbkm4aj1lAkRcVf6uC4VGyU4OmBISjKpLdSTB/vbJoE5LWfXPpdTnrsni23du o6PX9dGIYbh0QO5H7iEfE0DB/yh9YIzbUAUOHLE+n7XUI0DFMhSIJ0lQMcN4NxOJtvUj 0sVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293326; x=1701898126; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YU/umhZ4xMv6PXObbvZL6R5y01gsoGYZgYp3KJFvARs=; b=vlmCpkD1hvaA1JLzbb5dRBO+Lc3NV2Iacch4c2meBgVkRkfxrASW5Ak0U+y7fVsKIW NHPB5DL+q5iTPkAfi1EcSvw4gghNbtGWSqjPjbmiENeizin9WlftNhp7JH0KpeSAB4Sm HDdQiSr9aiv6mTZenF4vqOgfnvXKT60sZRIY+8cjJYa6/r9heBTrj0Ly4N0yg53GP2gw g2507YpZe2HEq5xauMR4JJ9Vrdqolh4/Q0VjYXbJk7oZJsFtz7Y7Xbd0ejFuP5OXu35o /sxnxCjZQeYPqeEsZpJnT6iD4yONEvJaaCiZmAg6+1HlwwPwgWO4f0rWnpWQmNN0/BRm sULg== X-Gm-Message-State: AOJu0Yw2z5JuSDrLzHILgmjN7zCkxzr6ibMDZKqsBc/pNfLTTcVxevQp dVZcEYJAPZK6ve9YGrn4hmODlg== X-Google-Smtp-Source: AGHT+IE+lDIdHAdte4rENQsg0tSBQfqVYqAjeDvwRKqHOtDWVAZmyuqpLukchZeA3cMSJEgTRjKklw== X-Received: by 2002:a2e:88c6:0:b0:2c9:c438:d0fb with SMTP id a6-20020a2e88c6000000b002c9c438d0fbmr1191629ljk.34.1701293325848; Wed, 29 Nov 2023 13:28:45 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:45 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:40 +0100 Subject: [PATCH 04/10] ASoC: cs35l35: Drop legacy includes MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-4-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: 36LDJZIDZDIPAVEVAMSYSCJNQHOTXKH6 X-Message-ID-Hash: 36LDJZIDZDIPAVEVAMSYSCJNQHOTXKH6 X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO APIs and but does not use any symbols from any of them. Drop the includes. Signed-off-by: Linus Walleij --- sound/soc/codecs/cs35l35.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c index 63a538f747d3..ddb7d63213a3 100644 --- a/sound/soc/codecs/cs35l35.c +++ b/sound/soc/codecs/cs35l35.c @@ -18,14 +18,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include #include From patchwork Wed Nov 29 21:28:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748526 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 540CDC4167B for ; Wed, 29 Nov 2023 21:31:53 +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 CA764E7B; Wed, 29 Nov 2023 22:31:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CA764E7B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293511; bh=/KmdbiDqrVroAl/1B3P2XmoeTE0qtjMki/JNv1gQXwI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EJ/b0BSVKZ/C6vDzDrE/HTfoWK8mt6xle9kxQna+/SvyEq9v2Ii/oFRlvX2ueGHE4 otPzrbKvL2abiv9eTq32kOXlj9HJBFr8Jxa1dLeVXoSdsXvSEdzkfXeprXm1aX5ecF knd8jnJbUlwyaPxNE74DlA6sY+BfC2jIPl+Nhr7A= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4DD47F805AB; Wed, 29 Nov 2023 22:29:44 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 8DBACF805AB; Wed, 29 Nov 2023 22:29:43 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7FF70F80246; Wed, 29 Nov 2023 22:29:38 +0100 (CET) Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 D3274F80246 for ; Wed, 29 Nov 2023 22:28:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D3274F80246 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=cbJGrbcd Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2c9c82a976bso1631541fa.3 for ; Wed, 29 Nov 2023 13:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293327; x=1701898127; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BhewE5OJd+lUpEbKMUw+a2p3lLwyC+mccGsAap2s2vQ=; b=cbJGrbcdjO0JJOWaynYx4lVLSx2rgP580UQQ80HChBK5ySsoMdmkaF5ROO1ZyP17U+ XyGhdDu+VJtQwvXQ5VqnikBcgzRvipFM4Ora/9y/+c51TSSYlcxEHlIBS7u6e/QCcYVy lxoZMsae6Y9umyR/SgKJo26mcqxDOJTDQA1I7+FCixAqehOdiht9zesEgQ+DxEaM0RTF YYGIPd27BvstsMSIWtA+0vadbHHTq9pgmrnbcsgBEMODd+tQJa6bIfTZSaZYJYSL97jJ CWSE+KKe3xoE2nc1jFJd9i5qDYQ3JuLL+PGNKv6Gk3BGUfEFTconbDkdSfze8xswXGyB OA/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293327; x=1701898127; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BhewE5OJd+lUpEbKMUw+a2p3lLwyC+mccGsAap2s2vQ=; b=OEh6NBmpluUVEFNSU6YLnaaCN73QOc6SqMTB4bXjJ9d5pOWgJ8okt/kwotSZBgt+AA XiLX3/vsJ+EiViKxx9rjT4ddIPR6G3Henr8a8G1ffqCiTayN72YstVaQn/nD2TW566u6 UAe1HabYBn7Y1TaEZmL6b9tmBmm52vs8UsYVnZvXJyyNdOEqMDsDwaUhNaqA4du7IDtS LQwxL+HmJm2ArV1+IaCKBg4IMooXa75ggbia3v0v33XTXqYtELzG0SYLtHnziGKUegjL SbE1fAnwVlNrxkpZKx21hToBv0JTBdqZlp1eFmZ9tii5XDwhovfVKMnpLWX7TQMSB36x JwNA== X-Gm-Message-State: AOJu0YzyWgfUi792/f67oqL50WZI6B2qKUZqPVIsxxzaWx8HiLJPsRVJ bczo9xpDB/1c8pjaSsdZ9oJOaw== X-Google-Smtp-Source: AGHT+IGxbQDzbtRllfk3uIL9CtkIkPKjX8R74m1/levpV4rcuCDOPksrJ0QcmNJ3lIdNQ3SMD2Q4bg== X-Received: by 2002:a2e:8e27:0:b0:2c9:9a87:6683 with SMTP id r7-20020a2e8e27000000b002c99a876683mr8118803ljk.1.1701293327016; Wed, 29 Nov 2023 13:28:47 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:46 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:41 +0100 Subject: [PATCH 05/10] ASoC: cs35l36: Drop legacy includes MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-5-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: HRDPPTVBSTODODY6NRICJUD7WQB6XJIK X-Message-ID-Hash: HRDPPTVBSTODODY6NRICJUD7WQB6XJIK X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO APIs and but does not use any symbols from any of them. Drop the includes. Signed-off-by: Linus Walleij --- sound/soc/codecs/cs35l36.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/cs35l36.c b/sound/soc/codecs/cs35l36.c index f2fde6e652b9..ec407aca33e9 100644 --- a/sound/soc/codecs/cs35l36.c +++ b/sound/soc/codecs/cs35l36.c @@ -18,14 +18,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include #include From patchwork Wed Nov 29 21:28:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748106 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 08CDEC07E98 for ; Wed, 29 Nov 2023 21:30:26 +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 7ACE0DEF; Wed, 29 Nov 2023 22:30:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7ACE0DEF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293424; bh=YgD8NCzCa0o2PIx+92uNDqIBOZLqRBx24F1D82cHvZw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=AWMW1j7TQKtWBKnoPpbytirY61Esm9YDpFj/u7WEjPv7wxGI0HlbZWcadWrkARp0w Ugt+kwn5Z7N1dOR8gOG2XsgnGz+BMFGYgzBsd4T5P1ZaW/MrdNwvMHXsITOe1zMG0I bOC5y5yomNev25zNXAD5ADA9zxxESgOmLVNioe1s= Received: by alsa1.perex.cz (Postfix, from userid 50401) id E427BF80612; Wed, 29 Nov 2023 22:29:09 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 4FD2FF8060C; Wed, 29 Nov 2023 22:29:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 27EA6F805CA; Wed, 29 Nov 2023 22:29:01 +0100 (CET) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (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 192B8F8007E for ; Wed, 29 Nov 2023 22:28:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 192B8F8007E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KMmXn9f2 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2c9c18e7990so3645101fa.2 for ; Wed, 29 Nov 2023 13:28:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293329; x=1701898129; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rd9nw7xvRPUV3hk495kPLrQSq+AWlSC2p6ACSHGPZ1M=; b=KMmXn9f2Qz+v0SbrHqN2zGD+4ZMtPhdLICUv/KQBA/zifP7A9EQwz7cjnWP09+wZyy jzIwvIMy7webb6dqc+PyaPHMiHvnlu+DXmeLAboWawWlej8D06dqOAM1AFwN7P4Z2Plm wzg6xNnzt6BcagM6Mgc7x0KWlYoD+WQNcexCCxH8Ae7UvRU6PfI18QyaNEhMfous2Azg Q+0DvFRCW0XXNrm6tig/27xDAhipoclfY6CZ5dBA/fg1hU//3ux+ybcosGVVwn/RKY5c p4rLZh+s9EqOZLrILlWTwU8/Hky4mr5VDstyt2adzIX/broDkZ6AIgPqIvV+3J+YEX3U OHDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293329; x=1701898129; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rd9nw7xvRPUV3hk495kPLrQSq+AWlSC2p6ACSHGPZ1M=; b=F8Fg2ORxJ9MbOJUkiZZnA6k4eRJ/Ip40gd60rxJg3BII9Or5hqXR/Is+niN/AdShG3 eDEcqvmyArBSAQCfykWrms3LuZqLG6rJuo341jPaXOz/Oz04ESHoQ5b+y9SUR+JxEQ4u IBqxQE5VoUoNqk2PhD2bdkza4ZAemNzdjkXCmvO6zMSRpQkF02qoV879tiAPNNp9yZY2 ltU2u+Tsx32bfxlVqjoRk4Dc09z3rubWOvzJ9GLBBDRXapIIODKBjtxREqtneasqvf04 PJPuFw2IiuA0/t9VrgYr027EeM3CMPvURYD4AoQR/A5wkOmjoznXzAFQmBYDYpJ29X1c /D8w== X-Gm-Message-State: AOJu0YwXr4hME8OeH2mTEXwFAENghsH2lid4v6L+1sReadIGlcJJThli oLEgM44gHJOO49tAg7FO63qksg== X-Google-Smtp-Source: AGHT+IFYlzgUTSMaBZ8vEEiRv4XxRnEyblyItbYXJ5pRKVGQeaxn6T2fQjE0N0TkwHLyCEnjMtygKw== X-Received: by 2002:a2e:9e17:0:b0:2c9:c566:ef73 with SMTP id e23-20020a2e9e17000000b002c9c566ef73mr812071ljk.15.1701293328854; Wed, 29 Nov 2023 13:28:48 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:47 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:42 +0100 Subject: [PATCH 06/10] ASoC: cs4271: Convert to GPIO descriptors MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-6-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: NKESBWNOUGC3BWRT7D7ZRTJHSWZCM6SV X-Message-ID-Hash: NKESBWNOUGC3BWRT7D7ZRTJHSWZCM6SV X-MailFrom: linus.walleij@linaro.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.9 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 converts the Cirrus CS4271 ASoC codec driver to use GPIO descriptors. It turns out that there are two in-kernel users of the platform data passing mechanism so these are switched over as well. One locally defined GPIO "gpio_disabled" is declared in the state struct but completely unused in the driver, so we delete it. Signed-off-by: Linus Walleij Reviewed-by: Alexander Sverdlin --- NB: the affected platform EP93xx is being converted to device tree I don't know if that is happening in this merge window, but the colission should be manageable. --- arch/arm/mach-ep93xx/edb93xx.c | 32 +++++++++++++++++++++++++---- arch/arm/mach-ep93xx/vision_ep9307.c | 12 ++++++++++- include/sound/cs4271.h | 1 - sound/soc/codecs/cs4271.c | 39 ++++++++++++------------------------ 4 files changed, 52 insertions(+), 32 deletions(-) diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c index 4b90899a66e9..dbdb822a0100 100644 --- a/arch/arm/mach-ep93xx/edb93xx.c +++ b/arch/arm/mach-ep93xx/edb93xx.c @@ -88,7 +88,7 @@ static void __init edb93xx_register_i2c(void) * EDB93xx SPI peripheral handling *************************************************************************/ static struct cs4271_platform_data edb93xx_cs4271_data = { - .gpio_nreset = -EINVAL, /* filled in later */ + /* Intentionally left blank */ }; static struct spi_board_info edb93xx_spi_board_info[] __initdata = { @@ -114,14 +114,38 @@ static struct ep93xx_spi_info edb93xx_spi_info __initdata = { /* Intentionally left blank */ }; +static struct gpiod_lookup_table edb93xx_cs4272_edb9301_gpio_table = { + .dev_id = "spi0.0", /* CS0 on SPI0 */ + .table = { + GPIO_LOOKUP("A", 1, "reset", GPIO_ACTIVE_LOW), + { }, + }, +}; + +static struct gpiod_lookup_table edb93xx_cs4272_edb9302_gpio_table = { + .dev_id = "spi0.0", /* CS0 on SPI0 */ + .table = { + GPIO_LOOKUP("H", 2, "reset", GPIO_ACTIVE_LOW), + { }, + }, +}; + +static struct gpiod_lookup_table edb93xx_cs4272_edb9315_gpio_table = { + .dev_id = "spi0.0", /* CS0 on SPI0 */ + .table = { + GPIO_LOOKUP("B", 6, "reset", GPIO_ACTIVE_LOW), + { }, + }, +}; + static void __init edb93xx_register_spi(void) { if (machine_is_edb9301() || machine_is_edb9302()) - edb93xx_cs4271_data.gpio_nreset = EP93XX_GPIO_LINE_EGPIO1; + gpiod_add_lookup_table(&edb93xx_cs4272_edb9301_gpio_table); else if (machine_is_edb9302a() || machine_is_edb9307a()) - edb93xx_cs4271_data.gpio_nreset = EP93XX_GPIO_LINE_H(2); + gpiod_add_lookup_table(&edb93xx_cs4272_edb9302_gpio_table); else if (machine_is_edb9315a()) - edb93xx_cs4271_data.gpio_nreset = EP93XX_GPIO_LINE_EGPIO14; + gpiod_add_lookup_table(&edb93xx_cs4272_edb9315_gpio_table); gpiod_add_lookup_table(&edb93xx_spi_cs_gpio_table); ep93xx_register_spi(&edb93xx_spi_info, edb93xx_spi_board_info, diff --git a/arch/arm/mach-ep93xx/vision_ep9307.c b/arch/arm/mach-ep93xx/vision_ep9307.c index 30d9cf3791eb..9471938df64c 100644 --- a/arch/arm/mach-ep93xx/vision_ep9307.c +++ b/arch/arm/mach-ep93xx/vision_ep9307.c @@ -164,7 +164,7 @@ static struct i2c_board_info vision_i2c_info[] __initdata = { * SPI CS4271 Audio Codec *************************************************************************/ static struct cs4271_platform_data vision_cs4271_data = { - .gpio_nreset = EP93XX_GPIO_LINE_H(2), + /* Intentionally left blank */ }; /************************************************************************* @@ -241,6 +241,15 @@ static struct spi_board_info vision_spi_board_info[] __initdata = { }, }; +static struct gpiod_lookup_table vision_spi_cs4271_gpio_table = { + .dev_id = "spi0.0", /* cs4271 @ CS0 */ + .table = { + /* RESET */ + GPIO_LOOKUP_IDX("H", 2, NULL, 0, GPIO_ACTIVE_LOW), + { }, + }, +}; + static struct gpiod_lookup_table vision_spi_cs_gpio_table = { .dev_id = "spi0", .table = { @@ -292,6 +301,7 @@ static void __init vision_init_machine(void) ep93xx_register_i2c(vision_i2c_info, ARRAY_SIZE(vision_i2c_info)); + gpiod_add_lookup_table(&vision_spi_cs4271_gpio_table); gpiod_add_lookup_table(&vision_spi_mmc_gpio_table); gpiod_add_lookup_table(&vision_spi_cs_gpio_table); ep93xx_register_spi(&vision_spi_master, vision_spi_board_info, diff --git a/include/sound/cs4271.h b/include/sound/cs4271.h index 6ff23ab48894..5a55d135bdea 100644 --- a/include/sound/cs4271.h +++ b/include/sound/cs4271.h @@ -9,7 +9,6 @@ #define __CS4271_H struct cs4271_platform_data { - int gpio_nreset; /* GPIO driving Reset pin, if any */ bool amutec_eq_bmutec; /* flag to enable AMUTEC=BMUTEC */ /* diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c index 9e6f8a048dd5..74a84832d958 100644 --- a/sound/soc/codecs/cs4271.c +++ b/sound/soc/codecs/cs4271.c @@ -13,9 +13,8 @@ #include #include #include -#include +#include #include -#include #include #include #include @@ -160,9 +159,7 @@ struct cs4271_private { /* Current sample rate for de-emphasis control */ int rate; /* GPIO driving Reset pin, if any */ - int gpio_nreset; - /* GPIO that disable serial bus, if any */ - int gpio_disable; + struct gpio_desc *reset; /* enable soft reset workaround */ bool enable_soft_reset; struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; @@ -487,12 +484,10 @@ static int cs4271_reset(struct snd_soc_component *component) { struct cs4271_private *cs4271 = snd_soc_component_get_drvdata(component); - if (gpio_is_valid(cs4271->gpio_nreset)) { - gpio_direction_output(cs4271->gpio_nreset, 0); - mdelay(1); - gpio_set_value(cs4271->gpio_nreset, 1); - mdelay(1); - } + gpiod_direction_output(cs4271->reset, 1); + mdelay(1); + gpiod_set_value(cs4271->reset, 0); + mdelay(1); return 0; } @@ -612,9 +607,8 @@ static void cs4271_component_remove(struct snd_soc_component *component) { struct cs4271_private *cs4271 = snd_soc_component_get_drvdata(component); - if (gpio_is_valid(cs4271->gpio_nreset)) - /* Set codec to the reset state */ - gpio_set_value(cs4271->gpio_nreset, 0); + /* Set codec to the reset state */ + gpiod_set_value(cs4271->reset, 1); regcache_mark_dirty(cs4271->regmap); regulator_bulk_disable(ARRAY_SIZE(cs4271->supplies), cs4271->supplies); @@ -639,7 +633,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs4271 = { static int cs4271_common_probe(struct device *dev, struct cs4271_private **c) { - struct cs4271_platform_data *cs4271plat = dev->platform_data; struct cs4271_private *cs4271; int i, ret; @@ -647,17 +640,11 @@ static int cs4271_common_probe(struct device *dev, if (!cs4271) return -ENOMEM; - cs4271->gpio_nreset = of_get_named_gpio(dev->of_node, "reset-gpio", 0); - - if (cs4271plat) - cs4271->gpio_nreset = cs4271plat->gpio_nreset; - - if (gpio_is_valid(cs4271->gpio_nreset)) { - ret = devm_gpio_request(dev, cs4271->gpio_nreset, - "CS4271 Reset"); - if (ret < 0) - return ret; - } + cs4271->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_ASIS); + if (IS_ERR(cs4271->reset)) + return dev_err_probe(dev, PTR_ERR(cs4271->reset), + "error retrieveing RESET GPIO\n"); + gpiod_set_consumer_name(cs4271->reset, "CS4271 Reset"); for (i = 0; i < ARRAY_SIZE(supply_names); i++) cs4271->supplies[i].supply = supply_names[i]; From patchwork Wed Nov 29 21:28:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748105 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 5586FC4167B for ; Wed, 29 Nov 2023 21:30:58 +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 1C02B84A; Wed, 29 Nov 2023 22:30:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1C02B84A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293456; bh=bR6hKL6gHbWy1REZ902Fz2AlO7Vf+5eh4uQQITYI+hQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=l4O8BeLDdwoF+Wr8FpbIgfQUL/9Ib056/wIPMCKHwzzclUG47HuA1CyKxKfeU0iQj Et3F/iYgG/jGeKv88p61GWGF4Z1DaDHrz4XYBtTZqvsZzIsuMhOS54cLPLgWWodMFL mKJh9NhFBDR+tP/MLOEqd0klUSs0aMa3GlGMDcuA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id EBE36F80673; Wed, 29 Nov 2023 22:29:15 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 06F6BF8065B; Wed, 29 Nov 2023 22:29:15 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 620DBF80254; Wed, 29 Nov 2023 22:29:03 +0100 (CET) Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 E031CF800F5 for ; Wed, 29 Nov 2023 22:28:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E031CF800F5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=gG3hxiTz Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c9b5e50c1fso4101801fa.0 for ; Wed, 29 Nov 2023 13:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293330; x=1701898130; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Y5TZCHl5JrsKzVzdedTBOjjaGJPtqogPOahlRjnAK3I=; b=gG3hxiTzP6ZT+P/Dh81wFI6oKts22JFTtxnKgAj7fpmlQ0Q+BDs406i11ACrpl6E9V 84Wqz1qRdnDbnRgI/X+CMA6d0mzQMT65NEzeGzf/+TJecTBqLR9c55i6CLGY2hUqov5D oFlRIJDIjMxGIiOz+u0WJNc1Z6nfTS5IJjLp38ZyMVH5MURlLUpIG4RdIINXXUeyaXjL ozNDn8W1hqAjjAXelKz4b8odY5yL0qW2ZTxzxa0Bo2zcmPok1vU3pq0hYq/zaE2gdAnZ 7X/ETnrSz87ZCivdUEiNDucGF0HCoozCBhA5RzPD0UaorbiyMQLUbMby5xi68uphKtRn dGdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293330; x=1701898130; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y5TZCHl5JrsKzVzdedTBOjjaGJPtqogPOahlRjnAK3I=; b=mF729QSQRqQ5ASTkTd2OtbkwZ4BFsUmcrSXQqZRJkEi7mYunVv8C3EHqZTJTd7iJz1 bQWXTYf0Nkyp8JVoyOTfegJGX9UdY8g+tA1eSuqgE5v28TQsSxXTdidnK7UOd2CdtLgI 3bMTIThHmfAIkCNav+I6+wQ6sFQU0PZgrJu4lrcbpfiwZGvTZqnaWqyWANmGLG/xi+Qh uE+7rT6fztEr+bjVyq5i7144qZUQ+adQsPtnzcqrjsB+IuHohLUbk8ULE9vJzLPDqUTb FODVmHkK6OFfC1lpbdILsAiR1f7zG67+4ziTRV7aluy2MpGFQhBfJx6e7yoKGj2sHloc t0eg== X-Gm-Message-State: AOJu0YzzTP1nIVBCCwFU5mBDZ9qMNYfihJ9gE+BEeDMv6V09W+4j1gSo x+uaq9O+J8W3+IGWgzS7zgd1aA== X-Google-Smtp-Source: AGHT+IG2iJRuG1eHTWV98yu7FrzVbLk4F45mt7qi99SvzYEoV5Esdv1xtlzmQWw30MGgDqcTjnHMVA== X-Received: by 2002:a2e:9b4d:0:b0:2c9:b4c6:a7ff with SMTP id o13-20020a2e9b4d000000b002c9b4c6a7ffmr3942168ljj.40.1701293329961; Wed, 29 Nov 2023 13:28:49 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:49 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:43 +0100 Subject: [PATCH 07/10] ASoC: cirrus: edb93xx: Drop legacy include MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-7-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: LQLY7FKG34U772RLY7VRMLKCWAFK7QV2 X-Message-ID-Hash: LQLY7FKG34U772RLY7VRMLKCWAFK7QV2 X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO API but does not use any symbols from it. Drop the include. Signed-off-by: Linus Walleij Reviewed-by: Alexander Sverdlin --- sound/soc/cirrus/edb93xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/cirrus/edb93xx.c b/sound/soc/cirrus/edb93xx.c index 6b6817256331..8bb67d7d2b4b 100644 --- a/sound/soc/cirrus/edb93xx.c +++ b/sound/soc/cirrus/edb93xx.c @@ -11,7 +11,6 @@ */ #include -#include #include #include #include From patchwork Wed Nov 29 21:28:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748528 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 D1E92C4167B for ; Wed, 29 Nov 2023 21:30:42 +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 DDC47DE5; Wed, 29 Nov 2023 22:30:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DDC47DE5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293440; bh=ldNdFxhQm8pe3gD06rPzZZR3kdwQ47mC0qwPu00ZFcg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=hzDNfTrsyePSuoh8fqx4jqARcBiQBiZvoNfg7lyEX2P0KFINVl7tjzrXGs/ONJ6QV yaKdWHInmnul//26ilRYe90TOJiJ+Yj/jmCA2v7itGnRVjqYnSeVtDn88ocmwEFhja ZKkQljU6/zSqxecsyuuf3YoZp5MxFW0hkZuMck+I= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 80F82F80624; Wed, 29 Nov 2023 22:29:12 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7BC2AF80634; Wed, 29 Nov 2023 22:29:12 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B8D6FF802BE; Wed, 29 Nov 2023 22:29:02 +0100 (CET) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 4C6A6F80254 for ; Wed, 29 Nov 2023 22:28:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4C6A6F80254 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=urqxufmb Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c9b5c12898so3551161fa.2 for ; Wed, 29 Nov 2023 13:28:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293331; x=1701898131; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Iu+jnDbRLvNSd29JPH0PlE0Rt4h1OZvlGiQIvlLElkY=; b=urqxufmbyV9a+bkv3seezZ/64r3S2Qlb9nWqN0mDnQEdelZf1Dz0/+SqgRtO/jHO6L gW6Bi6buqJZAat5UhVuR+EXYhMlRQ3FaglWrI7TLFLr/yW0nTZunTGfQ7G+f2JUEasc3 hCDbya0qm6QFyYzg0e560L0MG9kvPGSVfNZvJgSraTGIlmD5wt4DI9A6jbvN0Fd5vShU NYzNZ3CxO1XdIiBs0vlO3EZFCWNfB29ycBGirOxd9p9wUR8dOOmziLsXNOOiB+fbBZMi N7p1wYWWxQ23hq8pPdR/5bTi8GARHEsxs2aPttjj38E7ka2riHzdwmWQ9/QaEWCx6Qzf k5Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293331; x=1701898131; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Iu+jnDbRLvNSd29JPH0PlE0Rt4h1OZvlGiQIvlLElkY=; b=Ka8XzaubQtWxNMdSkTOkfFVaSWuwYz/UaION93DcH77cAfJ6G7mwnWZWFuRCwfuNyW lwf3Y1ptOYH3TU5DeLP6kO6VV/hQRA2j+8j3JYhWLPZexoDd+QGp71vnflNqQdt4n3Pd FRL3NvGfNlEAeItYHrintafdAPWvc1uxTdKP3BL9sm6EwIMx2GMQEqLt6SqtpMXJkwPV 0c7ZA+vXuoN6GTGNGIFmdNRapKrTa1LrTMSyHBxMuFdV0ZCxYe5AvPxWxVGr1GwOJK7Z B6UwdMj0ilgyFljq0dTVZHVCbfoGehVdLBGsu8mEu14csIgMzZOPiwq/ssLOE00c/RXk y76Q== X-Gm-Message-State: AOJu0YyMvF2HBS1JQSG+hcfIpaATOiX2l2qX+ETtzvsOVLr5/I1LmrPz 8LP2AwXLvmfaebX/815I5319Sg== X-Google-Smtp-Source: AGHT+IF/28zICERnGlS5+OnSEEJkvgxEGnITMU5KpHeObXbDWy5BHjwpi8sDYXn7h5PUPVbGD2wWHA== X-Received: by 2002:a2e:87d9:0:b0:2c9:bfb1:aa75 with SMTP id v25-20020a2e87d9000000b002c9bfb1aa75mr2165119ljj.29.1701293331064; Wed, 29 Nov 2023 13:28:51 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:50 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:44 +0100 Subject: [PATCH 08/10] ASoC: cs42l42: Drop legacy include MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-8-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: RLUMOP6KYGJYOUDBJ3XPNA5LSXDF5FG7 X-Message-ID-Hash: RLUMOP6KYGJYOUDBJ3XPNA5LSXDF5FG7 X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO API but does not use any symbols from it. Drop the include. Signed-off-by: Linus Walleij --- sound/soc/codecs/cs42l42.c | 1 - sound/soc/codecs/cs42l42.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c index 94bcab812629..2d11c5125f73 100644 --- a/sound/soc/codecs/cs42l42.c +++ b/sound/soc/codecs/cs42l42.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/sound/soc/codecs/cs42l42.h b/sound/soc/codecs/cs42l42.h index 7785125b73ab..3d85ebc59489 100644 --- a/sound/soc/codecs/cs42l42.h +++ b/sound/soc/codecs/cs42l42.h @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include #include From patchwork Wed Nov 29 21:28:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748104 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 6DA42C4167B for ; Wed, 29 Nov 2023 21:31:30 +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 960FCAEA; Wed, 29 Nov 2023 22:31:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 960FCAEA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293488; bh=3FXG0vtiZoVZey0ixVUNXZYFJ25iiFYU/d0IDpmfrOA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=h9INo3SMPqg8IH4RDBFR3hGa+VZkHAJAg3ivsEXYRS0SpUilqQLMVhtkpmn6fYYNU H8KmTHIibz2YFUq38GEMF+E47Kopmxhh5ZiTkBN6PNY3+KBzi6jis9g/amFWSlKZS4 KGGTX6yK44ywTCMhyo/i0CEv2SNFriCVChso/FPA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 641C8F806C0; Wed, 29 Nov 2023 22:29:21 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 62740F8069E; Wed, 29 Nov 2023 22:29:21 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0F4C1F805F7; Wed, 29 Nov 2023 22:29:08 +0100 (CET) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (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 B57B9F80166 for ; Wed, 29 Nov 2023 22:28:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B57B9F80166 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=FEUfx9xv Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2c9c5d30b32so3510191fa.2 for ; Wed, 29 Nov 2023 13:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293332; x=1701898132; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=GU757npNrUowgHMI8BxiU0vGtre+9oPF8HlBVHP1/Qc=; b=FEUfx9xvisxTxXHnGouBhINO923PeCCoGMkK2KsVqGalu4AqdBpTgvfVPAxb3mp3uf rUgqaFk7cwtQq+qCJ15K6D0J3aLdT2kr4Zt1DbXvdWAXlQTRV5JkMdiltMRLpi381lHh PjvNdT1DU5IZp3VVyTQgLeyS5ke/dlHDc1DNBfvGbZU0mpEqDvSBinroz63ae29hM0dU dUk3rFeHQ6OD6oGtKj/QB0zTq27+hdTHCPFR4wb6PcTlGV/s68MV+94kbeuziYfyZNr4 SuzXyBItRyBOYZaCgXC4d7fSLO5/Fii1NDXnS6i2mFUNVyzAZOUu/GgKeYFbchOo0Q1D yqwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293332; x=1701898132; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GU757npNrUowgHMI8BxiU0vGtre+9oPF8HlBVHP1/Qc=; b=xHvv7xbg9VyoI5b/Qq7lzVfY8NMLTWCJmmY2w7XyUa87sEpoxvncvgHzf5apUxYYlH AvP1n9ynN4qgItpkOtKZOhZTcxDNJn097ydX8dNBbiy92v7o4pYi8OY2Ppg6m5juv7K0 SJOsFhI2jiXA8Ytdsx5Q7BCN5y5ssn8HAkgcGs6qCrNIDJ94U50/71D2yrynPMp9KM4K hSGOTuOTLyJa/3+lpa+iZ06HpsHLHMm4evEzNLKeK2m2x6xkwfoWEUOxYl/Lz4AUEZse ln2cjcTMfrsiRk368A1dpT/UKTgldkjR6iIp/rRwbOqHorFIV10UF7peYB1FWPM/algh 5Oug== X-Gm-Message-State: AOJu0YzzVZFpnpG1pFVm12p5GXJM/XVYjiPkMjMsQ1Ti2cAQoNpurUrK f9+mv1sm3QOWW4wPuIftG76TMw== X-Google-Smtp-Source: AGHT+IEdyUI6Rv6RH6eVMr/I17nk4CK9OjZr5lyleg/5SJIpqBPmIm2LRa2NEJpv2cv9yqxd+ociMg== X-Received: by 2002:a2e:7203:0:b0:2c9:bf97:81d1 with SMTP id n3-20020a2e7203000000b002c9bf9781d1mr1989104ljc.27.1701293332163; Wed, 29 Nov 2023 13:28:52 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:51 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:45 +0100 Subject: [PATCH 09/10] ASoC: cs43130: Drop legacy includes MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-9-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: SIPAZWARAENUODK7ASKW34AHMS744XII X-Message-ID-Hash: SIPAZWARAENUODK7ASKW34AHMS744XII X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO APIs and but does not use any symbols from any of them. Drop the includes. Signed-off-by: Linus Walleij --- sound/soc/codecs/cs43130.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/cs43130.c b/sound/soc/codecs/cs43130.c index 0b40fdfb1825..18933bf04684 100644 --- a/sound/soc/codecs/cs43130.c +++ b/sound/soc/codecs/cs43130.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -26,7 +25,6 @@ #include #include #include -#include #include #include #include From patchwork Wed Nov 29 21:28:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 748527 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 ACBECC4167B for ; Wed, 29 Nov 2023 21:31:15 +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 EAF5E84A; Wed, 29 Nov 2023 22:31:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EAF5E84A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701293474; bh=1aYnqYCv9PLm7xvOfw4zPS7myMf7MBU9iCQGRqGGq+I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZjdKgDlUYPozqgY+O/XPk3rsH7NwVbhFP9p6MfSEumuhYBsLfn1RTSG6Sh65zUMDR J6r/vkrDwEONzYm3I1v5zXR8LmhNxYusby4sZfWvU57oE1L55TY9WWNanTHbPKMCYS hdsqNnaC7cYF+dOi7kCCM6jVaCfI5c48WpNZwfj8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1E368F80567; Wed, 29 Nov 2023 22:29:19 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 35F8AF806A1; Wed, 29 Nov 2023 22:29:19 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 66D72F800F5; Wed, 29 Nov 2023 22:29:05 +0100 (CET) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 71602F8025A for ; Wed, 29 Nov 2023 22:28:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 71602F8025A Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Ckd+4+zn Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c9c82a976bso1634111fa.3 for ; Wed, 29 Nov 2023 13:28:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701293333; x=1701898133; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=HSsSWusvyuFKnB0n59GG/ZJpbxUajSal4/kkXB4+BwY=; b=Ckd+4+znvhuon1kOeb+bP6BDE6bsuMV9yTn6CIlg/WL9d5pBnWDBmf2zWjwNtiOT5/ zyaeHirhQdIGqm8NXAqb0Wuzi/pddhfXqDGV0Cnwwyj0zBgBHeBc5BJWO3OYb6Iv9l3Y u11MBHgkTQ9eFjKcPZnxPFHgrlQ962VPVN+DtL293jKL5dz43x2uFjBVgnl3Y7RSfuVy ma+NB3argskiRnWl9bdy/GfC98IOCfkdtdGXGVx2flq4offAtEWBu7Uy2xQKdgNwQwz4 BblnHq6SqXmymY79bwy2mm6luSxgka69GDjcCyMmUPAjAAhJfzm/D0c9z4O3bfG0vZPZ 07og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701293333; x=1701898133; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HSsSWusvyuFKnB0n59GG/ZJpbxUajSal4/kkXB4+BwY=; b=Zuj2S9aUo2KFjPH8cuJ03rfW77H0BRuocXVkRngqQYw+Cel5oQNhb1DijTj8BghwEr rVWTxn9soOqRlwX/8kY0bqxll1jZhCbJmgB1rfqWcRr6iUMk08i1Euqk/mfBufUfQEHG yHGLzNDOEN14Rj9WZmEASfaKglBDsvWLbSWAY/ZdLPW+/w44aCHDHxg2TwML6carIpTp rgqTcOWNWsE0KkMe7P7wG7wAj6P+b5hD4aok9uR3gIEenviCKhGC6T5NbpJbW7cuHm9+ FiSBzpvOnZyZtCLDelwe4cUdZBspSnIw9eJg2GtGwGUJ7Z8xgM1NyqKQ4uQJB3f+TKQ4 3GvQ== X-Gm-Message-State: AOJu0YzSYJ38NvEQWG/w7BAIq5p5edxRAoibLTsucrJHHcd2WbckBV6J /396PbMudbReJ5Hhchl4Xc7EFg== X-Google-Smtp-Source: AGHT+IEkmWdPL4oWl2UHqoreap/8MLKCw3gg/vwTWvzAYgZdYOH7cYqyChHDv5dnd47KwZaWZPj/7A== X-Received: by 2002:a2e:9f06:0:b0:2c9:b9bc:b029 with SMTP id u6-20020a2e9f06000000b002c9b9bcb029mr3098669ljk.17.1701293333337; Wed, 29 Nov 2023 13:28:53 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id b5-20020a05651c032500b002bcdbfe36b9sm2106196ljp.111.2023.11.29.13.28.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:28:52 -0800 (PST) From: Linus Walleij Date: Wed, 29 Nov 2023 22:28:46 +0100 Subject: [PATCH 10/10] ASoC: cs4349: Drop legacy include MIME-Version: 1.0 Message-Id: <20231129-descriptors-sound-cirrus-v1-10-31aa74425ff8@linaro.org> References: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org> To: Paul Handrigan , James Schulman , David Rhodes , Richard Fitzgerald , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Hartley Sweeten , Alexander Sverdlin , Nikita Shubin Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.12.4 Message-ID-Hash: RDPFL7V4IILR5YVR6TKUWVBLPMXFFX3H X-Message-ID-Hash: RDPFL7V4IILR5YVR6TKUWVBLPMXFFX3H X-MailFrom: linus.walleij@linaro.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.9 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 driver includes the legacy GPIO API but does not use any symbols from it. Drop the include. Signed-off-by: Linus Walleij --- sound/soc/codecs/cs4349.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/cs4349.c b/sound/soc/codecs/cs4349.c index 9083228495d4..ca8f21aa4837 100644 --- a/sound/soc/codecs/cs4349.c +++ b/sound/soc/codecs/cs4349.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include