From patchwork Fri Dec 1 13:20:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 749012 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 3A943C4167B for ; Fri, 1 Dec 2023 13:21: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 B97F5BC0; Fri, 1 Dec 2023 14:21:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B97F5BC0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701436898; bh=W9uWWb0OT+OW230+6kgDXDm72OVBpDo/6SEAE01cj7g=; 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=AInVZBqfdWBpwml4Z/3SXvgNhn1I+o+8XwJhDXEsaROj63TCxnkyVncnrbDoUwLsl K+rPT9UYP5jAU4uacHNQ1De/gq+6rCgU3gj2XcAyBc2Ps/yIdB2WZon7UhCSJwghLr kKs0Ydg7owTNyNDEQHQHUddz3h/HoVQ51I/+Y/FY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6EBB7F805D7; Fri, 1 Dec 2023 14:20:49 +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 76244F805D2; Fri, 1 Dec 2023 14:20:48 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 362E5F802BE; Fri, 1 Dec 2023 14:20:44 +0100 (CET) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 8DC86F80104 for ; Fri, 1 Dec 2023 14:20:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8DC86F80104 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=yBVwgKH3 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50bba815f30so2882853e87.2 for ; Fri, 01 Dec 2023 05:20:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436833; x=1702041633; 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=6nBS0qEXkMT109HJpJHOUn0za4cdp5UY2TNq9aMO3Co=; b=yBVwgKH35mMa7zlyU29anJDPJKPc4pwZ14AAeW0rjXoDKbRC7UNYOQipICg+tbCtC6 7THlECcwVI8GjLM9CqLVybXb9w/PmFqcX80ODBL/knVuHoEL7UwvDvbDMYuEp/11EG85 KYGIG2QIZ5zPMmzUuiN8hqMrwx1smdJBneQYHqF9cod9gJYE1e63SvlG8vA9+Se+Nu/O ieYe+gc4UtMpDbjUIf6+IBK85vT7gVie1QLcbY24bQiex7P3VE9iTOocgWcSh+juPZ3X GyCzZW8Pz/V0YGhdccrQ69O8nI+FZLpJhIPjUxdzjZagqVa3B/v5fGSLZNd8ykflkVLh wDFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436833; x=1702041633; 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=6nBS0qEXkMT109HJpJHOUn0za4cdp5UY2TNq9aMO3Co=; b=gGxmp3MhAWONCCNzvRstwR85HAkt4gNG1I+1S+5SjOOF+eHZBcnVGRQJE/4u9v9vAQ iVrkzySEatC6xjFumA9VIPPDie1o2rUzH8uDKhvDqQsIO5uiW9knUejjDzQ+C1RXeOxq OkgC+8Tr2zSa878VW46XTk0AA6m+agI6DzIiryukqGuE2YwjywSqPFiFP9yd3SBFwusr P1rBZAzN3vF3SGvxDKpMGI8o/ntR6kitJoocUvnVtXJPlKT/rH8GNETlfy6qhPoR7xs7 MQbF7WdxyUt2d0nRCmE6+VGLlEzoeaA4hUyl9R251zpswdw8R+jReBBos6wDyALdV7fd iyaA== X-Gm-Message-State: AOJu0YwB7FTeRJRnSFpX5GO4Zrm2ughYOJcJXTzgE0oeu0PXCu5RaKWO C5G1j3rBJR+YO+UFOOmEyNtiHk2KbdKwV8RvD8c= X-Google-Smtp-Source: AGHT+IEZBoALYT2AI/HvZGmMjYehDRhxvtPlZru/apoTdsAj69LXnriJmkSP9pMwuY+NY+SyLAK8qw== X-Received: by 2002:ac2:46db:0:b0:50b:d764:8e5f with SMTP id p27-20020ac246db000000b0050bd7648e5fmr446890lfo.113.1701436832963; Fri, 01 Dec 2023 05:20:32 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:32 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:30 +0100 Subject: [PATCH v2 01/10] ASoC: cs35l32: Drop legacy include MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-1-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: KARUYYZQA5SKJM3IEU4JGEG6ZVUWT6OW X-Message-ID-Hash: KARUYYZQA5SKJM3IEU4JGEG6ZVUWT6OW 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. Acked-by: Charles Keepax 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 Fri Dec 1 13:20:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 749497 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 6F549C07E97 for ; Fri, 1 Dec 2023 13:22: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 E026FE10; Fri, 1 Dec 2023 14:22:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E026FE10 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701436947; bh=fLv8aJmxl0SpeItNrMv3KkugxslAk4nYcFru7ztDXXc=; 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=rRM8iVYL58OGr65aGIvL/zxLMNeYWvtPgwCV7+Un51Brgysii5/v9kIaEyJhaSDIs KvN3+woS6rgq58rj1B23OqDP69thxeCmsNtlr3VMuEexcRHVqh/HDJ+5NCnOh0Hvq5 c7upYW9z7xWHWTQHxVkqkNair76uBl58VfFaaEq8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9591CF8061A; Fri, 1 Dec 2023 14:21:02 +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 E6940F80633; Fri, 1 Dec 2023 14:21:00 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D3227F805C3; Fri, 1 Dec 2023 14:20:53 +0100 (CET) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 C27C0F80166 for ; Fri, 1 Dec 2023 14:20:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C27C0F80166 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=lsS4oB3I Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50bd928b13cso974195e87.2 for ; Fri, 01 Dec 2023 05:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436834; x=1702041634; 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=hvwEnfEWC7X3PkrakUYA7rH73mlgP4mcx3Rphz/0vOk=; b=lsS4oB3IfkQ7c0JraFUYkqalkQLRJLiX0SqTYjpCRuNUlhu4f/06l/xdeRzxoHhNBw RhEdkk17nOerCHXXzxCyiIzwOyZP4F1nct1SlaKvVvrWUJ97XAy2Lm9bmYo0sjCy0tV/ gZ78qT8GC8bVMhE05r7/xQ72xQmS0U4NrMLUmRt4NgQerm3ro3MUsuQN2ZUFnaUW9umc WoouOX7tWG3kndYZligEhs+Z0SdeLBt/tWdKekvfdGoDKMtupMp0k2Cnd6NlB9Zs9U3Q zWTlMlAgJFdCymVcR8epb6TDcaB0d2nkX1J3iRWiUA8O8aG5Zrd+cfSVy7bzRCUwQda4 c3Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436834; x=1702041634; 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=hvwEnfEWC7X3PkrakUYA7rH73mlgP4mcx3Rphz/0vOk=; b=pyYQ4nv1ywSMEw04V/32xvTbCg230F+n2YN8bc3Gtr24/3uBSGv8ZiQvOiOl/Nujo7 495e+q81qNmpYvrl8b5NyfrOWRikURQphOQqgVpzRTbJpn+5tL/MWirVHa4N1wVlBwN5 clLhRfL0tQwNoQ6gjRi4N9NUVvriqmDSUArRAKcy/rc7lGQAg2Ml+fp4nnwU7wq4EPJg px5opBLgj9Ku05fW1JI9M9OCqpAY2KfgCova6XbS+78LwbAB/EnTtLUX9SCwOpySjx0H LPlwly1bzExdcCjyKHOjFvUE9pWONGteCosxOW3iBDM0DhJ9kR6IIU6qeWX/HeMC9heV 2xDA== X-Gm-Message-State: AOJu0YyKqJ6offlvOcfLCgwTMTN7D7FVkrKtL6bYhqzPZ6LZcFRoEy8G Zlgu+oR+u7soKkdDoQQyAsXqW6ZZlhEfiZhJE48= X-Google-Smtp-Source: AGHT+IHy8r+VGJLhcKYulz95n0Llz8QkGNwo3fVIlOQzYeCx6OX80VUxPFF/MbvUz9dVuCcnHSKjPw== X-Received: by 2002:a05:6512:36d2:b0:50b:d764:6ec8 with SMTP id e18-20020a05651236d200b0050bd7646ec8mr745977lfs.120.1701436834148; Fri, 01 Dec 2023 05:20:34 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:33 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:31 +0100 Subject: [PATCH v2 02/10] ASoC: cs35l33: Fix GPIO name and drop legacy include MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-2-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: TLJKNNDHCEFHFLHAYEI5TS3DINZKY5D6 X-Message-ID-Hash: TLJKNNDHCEFHFLHAYEI5TS3DINZKY5D6 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 "reset" 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.") Acked-by: Charles Keepax 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 Fri Dec 1 13:20:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 749498 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 4951AC4167B for ; Fri, 1 Dec 2023 13:21:57 +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 7D6BDBC0; Fri, 1 Dec 2023 14:21:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7D6BDBC0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701436915; bh=j5nXZOiJ3idBLVoIhOYwhLKDUXVq35cNaJxQGx+hM7s=; 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=ibKzNBznUNGoyUMysCmmCf2rM1Ckz1KQ1wg5eLO7D8BkLzzTZLMpYYXL0bvKhEUhf MMdZtvK/G/DGATXauchFmb5fvtF32zOQF9ffR+vmuzE8g7yBqTvXHyvVhoVuqHKvtP rII1y0L22NJJLOj9SjLcE6vpIvgEuRpLAnocaJzI= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 83C0DF805EF; Fri, 1 Dec 2023 14:20:56 +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 966B6F805F9; Fri, 1 Dec 2023 14:20:55 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6067FF805C4; Fri, 1 Dec 2023 14:20:50 +0100 (CET) Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 13725F8016E for ; Fri, 1 Dec 2023 14:20:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 13725F8016E 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=VWQ5OTLP Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50bd8efb765so997739e87.1 for ; Fri, 01 Dec 2023 05:20:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436835; x=1702041635; 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=lDKFgSOaPuVFur80bPhP3dFYnn3zUMFtVllkw5He9o4=; b=VWQ5OTLPEpeSoGDQaMyBJ2PVERWrxdCL6YHpROFj6+NDWep9Sjs5BylRTZSHgOTRIm 2wH6Zu0ZzXbq1t5s1LaCyLb7VpL0JkWei3EdGrhQVdLPLtsu2wHhMxHSF42kp7ovYMNX onXM6kUGZPJIii3eegLmWgqzKjmyGlqTMzCjnMFhJFs0YwbkxwQ5IsRAZX2kCTON63F+ 0BQmSii9RTuaIbGjYkANrUsNb5llsYOrAUe6tuS+Aov5hvQ5QXPv8eFkwCAJ/L2OCCmz L+554ZGh15NVsoImFN6mVmUK7zm/1pV1RPxfgEDZAzyn3dzE6tH7FL7FWvXgf+ffzZI7 dtug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436835; x=1702041635; 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=lDKFgSOaPuVFur80bPhP3dFYnn3zUMFtVllkw5He9o4=; b=TRqxCTizWRnW/7Xf/P1fHU1CDByfaWvzzUDwCDDS4OQDPt8V0w/rgOCQOKkMt0cejn 5o4M57bZkMfX9yDeuwXaIgVU0LqgnsQdD4C+98eDR7obnNtFr6mw+Hp8StloEUkejjgi 5JszGNuP84FMieWiqBAX+2sR1yimsokTQgkBzp/2QI8KwCmHF4OyFRiRE/2pv5fAIrGa 4umsvO9trPwvot0tZbjxZB1apxbvLwGaLScc+QC8PjO0gV2p9Akv/rXNsH/1/oGJiz5A ANF6LAVytmkhqmhoHxABHc5LJJIZBPE8TQ65leEf9nYp+VimtnOtXxIrGdSjItPJnp/9 Kbaw== X-Gm-Message-State: AOJu0YwKFTEYusIGodOZWTHeSxD5k9Krf18mM4ZdBJfC52GSiuc5n3Us W/b6NqJkLllaxE4oqZjw7zX9PbWz/uIsEh+yKSo= X-Google-Smtp-Source: AGHT+IHPhwhCcZemWJXPkwH3F0g8I2ogdr+dlRUEBR2WBwxAYjUakxV0jDfSRYYeCIC7/cyqXFUOUQ== X-Received: by 2002:a05:6512:615:b0:50b:d764:9683 with SMTP id b21-20020a056512061500b0050bd7649683mr765669lfe.103.1701436835426; Fri, 01 Dec 2023 05:20:35 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:34 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:32 +0100 Subject: [PATCH v2 03/10] ASoC: cs35l34: Fix GPIO name and drop legacy include MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-3-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: JH6SFEZQWKZKNAPOU4CKISEYI5GZHSKM X-Message-ID-Hash: JH6SFEZQWKZKNAPOU4CKISEYI5GZHSKM 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 "reset" 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.") Acked-by: Charles Keepax 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 Fri Dec 1 13:20:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 749008 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 C8172C4167B for ; Fri, 1 Dec 2023 13:24:46 +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 170CEE82; Fri, 1 Dec 2023 14:24:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 170CEE82 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701437085; bh=gS3N25qqZntPpR2ho84RZaESNZ0PukadGWdRi45Z8iU=; 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=eFxmBmK4ZYxNFkQUKR6cGLzyrePzBgC/2CxRBAK4rY908z8QFkXWGYB5bKGHtYXqH scVXWs6dqsiqjeHwzVezj31dcHMsMzv4u092783M5Y8toN196fRUTkL6trkveP6gRz ngnhQiOPUaMI7dL6Q4eUaNHtZDXyKgYaDw3PpRmw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1E5EEF805BB; Fri, 1 Dec 2023 14:23:54 +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 03A4FF805C1; Fri, 1 Dec 2023 14:23:54 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1A194F80236; Fri, 1 Dec 2023 14:23:47 +0100 (CET) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (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 09874F801D5 for ; Fri, 1 Dec 2023 14:20:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 09874F801D5 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=NKqU0SxD Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50bccc2e3efso2696135e87.0 for ; Fri, 01 Dec 2023 05:20:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436836; x=1702041636; 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=QXDjDPaMbvQx1bg37W4jgjJHDDiGcy2tlOvY5Yp+dBc=; b=NKqU0SxDx+H35hAiF+pr8OAIjlL1bjlV+4AljP1bCPe9YgGGzi5yDgFkzneX/6djWU ibloMQllgYDci7qSK3p7cvmubnk1g2J6A94+X65+cN0EhA3bHyrShHjusEibeyQGxuyq vpxeBaUEwBwBhKUxxsilVlb1B9+NPp5vqQVcsi+uzL7uUqEFkeKdzTJiKETjvIas7k9d 5Q3VjGA/dNcSIRRhHK3CIR1QTH+AZXK4pHbeVVMmQb5iS7FlcMBAEXTGwAukWDc/17gk /8vaYJ3a7o/Dh6o2RzvbhvTf3DSwuXJ0im9L0WJAqJCcdGu/EMArMuBnLUltnaBHJIgU oPGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436836; x=1702041636; 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=QXDjDPaMbvQx1bg37W4jgjJHDDiGcy2tlOvY5Yp+dBc=; b=JJbOzww7vc+Ssvn8lEermpONS1l3aISSOsaHJZkzuQp1IHY68205rn7uMw7iQO8xcY B36UvaS8Tn307AcsBFWAdVF5W/4Py1SkKrqSt1ItXRp01p5cW96NxSRtK6wpjf06dTmp P/SXzeYGX5KpKWG+BzUSzcDXakqmysQFicsPTt9SvYKBIaIRPGtO6E6af4VAP8iGwqid 62K3FROIU7NIDtj4oAQGVlsCiNKeh2mcTUvAM9f0HsM28eU9MJVtEiJZc49GZn9oF8Wr 5cHE9CnW1x6zneWeiJ3r8iUSkIzeIQdWr5TH6UW4C5Zfq9kMiFowojeUlhZxFEFr/T+1 SXog== X-Gm-Message-State: AOJu0Yz6E7a1sTK2u5LEhjceeV8ZbnzxRkmswJfjJj4kSRBkjkeGWwFA xuLtraoncOgNuQULHDFvkvw1Kl6X3Rv1teF+1z0= X-Google-Smtp-Source: AGHT+IGIItJJwYORlQRXrQG7gfQ5ooIDSNWEgNp2rLh/rkXJ7icDeuvVSqIoEojB48neS29HuUSSVw== X-Received: by 2002:a05:6512:239f:b0:50b:c2f4:ad44 with SMTP id c31-20020a056512239f00b0050bc2f4ad44mr1028231lfv.29.1701436836629; Fri, 01 Dec 2023 05:20:36 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:36 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:33 +0100 Subject: [PATCH v2 04/10] ASoC: cs35l35: Drop legacy includes MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-4-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: BQTYNTOQ32VODKB2XGBNFQF6QFRAUEEY X-Message-ID-Hash: BQTYNTOQ32VODKB2XGBNFQF6QFRAUEEY 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. Acked-by: Charles Keepax 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 Fri Dec 1 13:20:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 749495 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 60F40C4167B for ; Fri, 1 Dec 2023 13:24:25 +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 8C965DF6; Fri, 1 Dec 2023 14:24:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8C965DF6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701437063; bh=FeYjB4CWMAwbwNmOamDg6MachCt2fEEDFfSHen4U7NA=; 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=m4CEc1RhBZbBG4ko7bfhuD4lIQGhhygwjXtWif0v/xmNJLSF7vbqFGE7keSOfWkPO uANP+lD4I1rMuOKuFUhvuyqOR7O9p17XVzZtkVwD9tEbwRKchzmeYGe/pFpPvdTcv0 BuuGkKaQ89PA0dV32pMVckvAZGDsJoycusWn4eO0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 74DEDF805A8; Fri, 1 Dec 2023 14:23:53 +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 BC091F8056F; Fri, 1 Dec 2023 14:23:52 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 003BCF80254; Fri, 1 Dec 2023 14:23:46 +0100 (CET) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (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 E2BD0F80236 for ; Fri, 1 Dec 2023 14:20:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E2BD0F80236 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=eNgKlQZx Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50bba1dd05fso2952698e87.0 for ; Fri, 01 Dec 2023 05:20:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436837; x=1702041637; 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=tmhoeNK2XrxfkfGdL3xKNy/HfoA09+0EnEv8OOqmFiw=; b=eNgKlQZxG/TwZ3qrenqQNIBkm3K35yAlVp0bgDtn9xR/M1eMZWh09xEdTvRRVIRNqs UUHWDdaX9ji1oyNrUL/DMUiM5h+V2QTvUjKcMrVsX5hlz2XPPFxtPVipfuOntq+Xe1d8 NYD/bHQVyL7Bd7V7iGP1p0jaIJoYPd84Bn/THCuvKWPt/PcuWH8TQ42gtKyLsL1tEIwm +ArX7wPh59G7sLqndb7zXY3ZsowAuyqGYYNunmbKJQoq7RxfVJ+G7QQxUF6ryG59NYW/ FAwJaGOxF0A/McyX93H07FX9gKTzleVPn5TKdojBz89tEyRV3fwa3wAxVUp+a9qM3Of4 /NAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436837; x=1702041637; 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=tmhoeNK2XrxfkfGdL3xKNy/HfoA09+0EnEv8OOqmFiw=; b=qJ/wYiQ58gv+E0Lhic+B5olyRmAgb5boyQTTzlrypSe0XcgLDxxbCimZxkONvnGg4J bRHstPBtaiaKEFnKAf08tKGc8LchnpzwfRwYsEsTbVnsC9ZEGsgMFLmrx79hkaydlvJT 3IwwJszwHYXGFc0/Aangtyc8lCCjQURm0QQWFvU+JUyEUaGnmLghpgg+l117g5xgA4RG 6ADog5I5SUFxWsQcUIRt/EMSdPp2cmbWz6TRdlqCpsghYQZhmcfmuZJDlmiQNANJzbMf FYRX9NtbUKbbc9zIXOx2yEcKIXFFnmVRb64idH0YvI1bL15/8EZ6g/OtYdCurRNL+Kes O0Gg== X-Gm-Message-State: AOJu0YzM1HICDUdn+AyCbZG2E+z6IIcmzIsRn/mV7tt8Uj7xzY+6J8an LI+ym9sL0Va45kROhYtrikt/qodw5E1h5PL+cXc= X-Google-Smtp-Source: AGHT+IFSgPDic86kEaX7pw26R4wwmabuIQgTcHwgTfrqNNG5jSVMDDG459yzdd7DusaO3vXR73bQLQ== X-Received: by 2002:a19:7906:0:b0:50b:d764:8819 with SMTP id u6-20020a197906000000b0050bd7648819mr784054lfc.101.1701436837631; Fri, 01 Dec 2023 05:20:37 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:37 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:34 +0100 Subject: [PATCH v2 05/10] ASoC: cs35l36: Drop legacy includes MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-5-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: HS2M4HIGAHQZTQBDEM2Z3C3B7EI3Z6JD X-Message-ID-Hash: HS2M4HIGAHQZTQBDEM2Z3C3B7EI3Z6JD 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. Acked-by: Charles Keepax Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Add include, apparently the driver relied on this being implicitly included from --- sound/soc/codecs/cs35l36.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs35l36.c b/sound/soc/codecs/cs35l36.c index f2fde6e652b9..f5bd32e434a0 100644 --- a/sound/soc/codecs/cs35l36.c +++ b/sound/soc/codecs/cs35l36.c @@ -17,15 +17,14 @@ #include #include #include +#include #include -#include #include #include #include #include #include #include -#include #include #include #include From patchwork Fri Dec 1 13:20:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 749494 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 0D957C4167B for ; Fri, 1 Dec 2023 13:25:04 +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 2A406AEA; Fri, 1 Dec 2023 14:24:52 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2A406AEA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701437102; bh=SBQDx5IN/nv40xRtXs5OxMSZOlXd17oftSK+d5JhdKM=; 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=p2HLT8lGkQdaPEW/yeS317Un3KmkHxb+BlBtBsdbEVkZr/vN3SRsuqV99WP264P1S j73QGQwtNlLbNEbsCfBDxs6LUNgXA9QD059Wb3XtRmNTj/woqz1sD11aVevp9b4Q2N 72B6pVsqxVELaazqu4p29P8Ngif+o0HZOmxg55Kc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 776DDF805EA; Fri, 1 Dec 2023 14:23:59 +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 1FFF2F805E3; Fri, 1 Dec 2023 14:23:59 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C018FF805BA; Fri, 1 Dec 2023 14:23:54 +0100 (CET) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 2D8D7F80246 for ; Fri, 1 Dec 2023 14:20:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2D8D7F80246 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=B/qv3M9d Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-50abbb23122so2950017e87.3 for ; Fri, 01 Dec 2023 05:20:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436838; x=1702041638; 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=5WhXxuLZNgkWwHrPw1QLUfir5/y69DK46Q+annr/jjk=; b=B/qv3M9dEODIBgLch+uqXtbsMJ9nxe+RfasxZym51hxvoKKMxf0W1a3b/nKS6qF204 EhG/lW1pPzbtqY6JIlutINC7ZCrQcN/PpLuI4pM/eFxqwpf7Y1wedJRdCGJoeNswCEGK nvqaxiOs3b9XK62P+xfz1XI1mOoOwjp+f8z0jGvNyHsrgHzgYhKkCgivuAyTZjjW9fWX xqYClysiGOjwwc3d378cjBK8lZ5xwe10G5aUGiNxP3cveB2JWcQzhnQTAUVCj0ihSYhn 47ViRAUKW3ndJSCW6VOKy/9LZCP3dgDR2BfNpkkvYuzSNDebMx8gCeT8Hrenk3EKNR5w 5QMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436838; x=1702041638; 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=5WhXxuLZNgkWwHrPw1QLUfir5/y69DK46Q+annr/jjk=; b=UjMrJolHGmnh7R/ufWcrh9OSy8Uv2gowxMTRfMEuE7/fAfB8ZYZuaPP/BzI1coDc3D ospaZzg2ICUoiH6yPgW8QY0MSug4FsPmK5zyUYL7p/9FgoN0gfM+HcYUpNIAdPIi1dkH yYCPnjy5SbENWKcUWq3JWRxoJ/sGFAKeWfSpvNEac1xruZQ9JXpjA1YenaRKUzgyiA2V 0ZspgASHH4oI/oaz/cPVXJg/cP3aE2SpY83zkPKNkVGpEVB7GvVWGisz8PeQUF05UHtq x7fcOtEY7V+oP0aivrJ3yG4KdOb6YgmwAI0Eo7J/wxMhW7T/WtP9AP9xvCdMaDDEbSBv w+Tg== X-Gm-Message-State: AOJu0YwMleWEdcqqU+pEvcnbUS2PQgXfAUPlEoAQlVqE5WbCMD711FUr HZ6MRGO3FM8rgfLxbXiTV/GViFaYFWbh+sdx164= X-Google-Smtp-Source: AGHT+IHsLRMMFCTZlDmh+/PBoPEELtq/DFrM73vYAwtEFpAp1w/UNgpsq/nwT/BE4N79+osG9ZAmHQ== X-Received: by 2002:ac2:5586:0:b0:50b:c9e7:2949 with SMTP id v6-20020ac25586000000b0050bc9e72949mr792476lfg.40.1701436838667; Fri, 01 Dec 2023 05:20:38 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:38 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:35 +0100 Subject: [PATCH v2 06/10] ASoC: cs4271: Convert to GPIO descriptors MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-6-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: JUR257JYD72KK3WA2YDOYZTJW3XMCC74 X-Message-ID-Hash: JUR257JYD72KK3WA2YDOYZTJW3XMCC74 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. Reviewed-by: Alexander Sverdlin Acked-by: Charles Keepax Signed-off-by: Linus Walleij --- 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 Fri Dec 1 13:20:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 749011 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 A348FC4167B for ; Fri, 1 Dec 2023 13:22: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 12DC4DF5; Fri, 1 Dec 2023 14:22:04 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 12DC4DF5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701436934; bh=WI/twEGHsi9gKS/venwQAPiDjbuLKdvLJUifKTl1C7o=; 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=qJZrz4BIb4A4dmttPpv4wyAQ+UP6lHSDzJU/S255QLmLYK3rUiUvdPlfmjsQ9WHTA n2evMmtiiWPh4hnezJ2WTTXY1us0FEaw8BmKfgjir60v7mAIpveEi7MePpA3WB5ZUL S6f5/4M0UO3falx6GBTvVA9ubnWmEFy6eubrYWxQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 15770F80607; Fri, 1 Dec 2023 14:20: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 B27B5F805F7; Fri, 1 Dec 2023 14:20:57 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F15E8F8016E; Fri, 1 Dec 2023 14:20:51 +0100 (CET) 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 3C3FDF80114 for ; Fri, 1 Dec 2023 14:20:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3C3FDF80114 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=HSuRDzgc Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50aab20e828so2879212e87.2 for ; Fri, 01 Dec 2023 05:20:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436839; x=1702041639; 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=h1YwCm+XH2HIMFvp7NT2GALpzlzAqPDpRrGRX4ZS3D8=; b=HSuRDzgcD/jJMtQi1krU3xgs7xIM9mybAy3DmdRS6I9O40xQZq27LLdB8iwQ4QWV33 rIonyrAR9rqT4Pa5kzvH7gWDswpopEh33cUpZiePtPUxzmSfntZ3gRSP1g8yIZwZkqEJ jkcD7oe3W4uv0jbsN2cyyj6wPFsMcFdbgYztuP7b1uaTZVqWG/vjURp3uPWPFlfAGumC rFZBKbbNW5Ml3N1Nv2cydpMUq6/6tKEbltMs6a8prnqvxDYNNAbuAQSP3PNIxgX/uz6v LUVWFW9jpH6CxgAvo3MAWqHb7VNEemJSMYK5Ci2FPT2rdP1fECdtmh1W9I4BguCCMKcR 9WPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436839; x=1702041639; 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=h1YwCm+XH2HIMFvp7NT2GALpzlzAqPDpRrGRX4ZS3D8=; b=GMIdb2cCDECiNemPt0fUx6Oug4pcOTQKcKk0oW00u3djRvlCOEUjCfJH1+SJZ10eq8 emmCiV1frguZbWOTS0RV5JHWtJGc46wJp8h27ZGR6gmDTDgXyuJzk9AxIf+XkUMmPrRK hqdVS3pnua6CnqQJ9xzIy3IgdP9FRG2m5qocSMJ5pr/bCprYnuUpgCXPvZz1uKoiGfMw 5J54cms1ZVLaZMA8gG081ZatUsX5EPYpOcgmiFMP4NqRI8ugTFDATEcgMFM2p1V9LwZr jOTeJTeN6d1j6zxTtSuspBLzhlfAgJR2askYXvgGR3YrYHP7xK264Gvr/keYz+mQdnqh Ol9w== X-Gm-Message-State: AOJu0YyoZo2rhzjnd5nyd3SeN43qAFDJD2o3qp8sFhsMCEeGhnn0JuJP TKrq3a1QZXuMTGsSbVcR+BOCIjx1aVrANI5GKfA= X-Google-Smtp-Source: AGHT+IHz0vX9CqCj+qD3UQTWnTMff91+vQiG2xdvgEoaXCXAVJNAM8ut2DNGIFy42sB0tfaYdArJbQ== X-Received: by 2002:a05:6512:1597:b0:50b:c9c1:19ba with SMTP id bp23-20020a056512159700b0050bc9c119bamr868333lfb.63.1701436839678; Fri, 01 Dec 2023 05:20:39 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:39 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:36 +0100 Subject: [PATCH v2 07/10] ASoC: cirrus: edb93xx: Drop legacy include MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-7-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: HKDZIMCRAIOG5YCLPBJQ566KVE4ZEY2N X-Message-ID-Hash: HKDZIMCRAIOG5YCLPBJQ566KVE4ZEY2N 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. Reviewed-by: Alexander Sverdlin Link: https://patchwork.kernel.org/project/alsa-devel/patch/20231122-ep93xx-v5-38-d59a76d5df29@maquefel.me/ Acked-by: Charles Keepax Signed-off-by: Linus Walleij --- 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 Fri Dec 1 13:20: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: 749496 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 58B8AC4167B for ; Fri, 1 Dec 2023 13:23:01 +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 C1509DF5; Fri, 1 Dec 2023 14:22:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C1509DF5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701436978; bh=Nen+9wRais612KXHRU0p7KTeoBkM/6R2JHB+YWxS0ng=; 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=qfVkEMT/ExankJoPYpI3pUOpGsEgcNML8neBdn+GRaHnoLVwifAXWDhjmJGZbJXsk vBSmCcC2MXKYzvi32Ke4biBFFFbPAbezvpTVXoCnDZs9ZQuDS7vJLTQ60eIKgJJgc+ eKMRadCadzCPmRNxvmQBBDtYfJgg8OAtqHDe0xG4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id E99F3F806A2; Fri, 1 Dec 2023 14:21: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 B272FF80698; Fri, 1 Dec 2023 14:21:05 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1236CF80611; Fri, 1 Dec 2023 14:20:58 +0100 (CET) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 BD381F80104 for ; Fri, 1 Dec 2023 14:20:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BD381F80104 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=wAxzuTsT Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-50bdec453c8so179957e87.3 for ; Fri, 01 Dec 2023 05:20:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436841; x=1702041641; 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=kJ+3Y6BEIrIf7qh9svq9OVzbI1CjxUGno02MCFoO1oo=; b=wAxzuTsTUglQVWYLRob48DALWD2E8WghswKMQErTjJXa5XHUPc0Vvrl6MQjjqOC27O T/rVDHTt499QGgmtRDMfsUc20o1ZRDk/vEpICXcw6tV8tX/IYxNijmLtNXp0Gc5Nzz02 0ncezPltYmZNtvDbB0/PmuQ2EKYEDMZHkrqZdSyHx2RTm1yNuAK2IcrAeylOb6lEKW5m A4kcz2tGFc7nRhp9mtQTewsKkN/0MijENAJe8m42SnWG7Qq53nTI7tmGkma4sYGymIbW PIUWDqdAsmyZ9fO+Oap4Dg+fOsZjlOk4A50I0WkdqvQ6W/TKk9HnfI5hL5m685IZOTUa DxMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436841; x=1702041641; 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=kJ+3Y6BEIrIf7qh9svq9OVzbI1CjxUGno02MCFoO1oo=; b=lyY5NdY45ag3j8nWsiCezCRlObHPeVR5kDnaAh6/GvNtE2dwM9aI7Dyfr92Uos6VW+ fUNLVqWm2MP2wVs8OERvcY0S5ynj9KVPuIb8rQs0n/zFU0cHnJVZeLns1O30hcn+Hm5C QzxXnSKsuNvgPMS5BXTDyhH4QIKAQmXVT0X+M8YTtaTRHJ7JaVu4Vu6w9Gh9MfES/dw8 aHRq0J0QqX9DNMEH9qWsze5oIvy6VIx8sK1G8jZGyoBBH/7RDFRwt6duOXUjc2904oa4 xqYkVARj9Ha8rooykTH+3Uc19ttWccZ4COnzTCbUft0nQo/YS6LyHj2beWIayhprkV1Z 2Sfw== X-Gm-Message-State: AOJu0YzKVqeEj7P9IGgATrlyskod/FclPxL9XFukVAjwlKvfrd5NL52g 90HtmVg16QVQ32V1yZjW+VaUCHHiOrPZ8ZnyIEQ= X-Google-Smtp-Source: AGHT+IFCWkhwbCMo2Kf7qMaVHd44Tp9vXFDKbzrS0UCWqndYYop0TULKRfjWVlBGS5I0GO/2TXb3TQ== X-Received: by 2002:a19:915e:0:b0:50b:d764:6edb with SMTP id y30-20020a19915e000000b0050bd7646edbmr666344lfj.139.1701436840946; Fri, 01 Dec 2023 05:20:40 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:40 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:37 +0100 Subject: [PATCH v2 08/10] ASoC: cs42l42: Drop legacy include MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-8-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: 2PME6KF44QYCCBKKTCVD2ZJUQUISUPKA X-Message-ID-Hash: 2PME6KF44QYCCBKKTCVD2ZJUQUISUPKA 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. Acked-by: Charles Keepax 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 Fri Dec 1 13:20: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: 749009 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 1924CC4167B for ; Fri, 1 Dec 2023 13:23:19 +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 C3C1ADF8; Fri, 1 Dec 2023 14:23:06 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C3C1ADF8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701436996; bh=qpWJYdxwgKfY8zfX1GAh9v+YiF3ud8r07y0eRkDcrnw=; 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=eoHe1RyQOAmKNFp3E4EuKbEfje9xs8e19Hp5qLh8dGXqsgriFRDSUdEXHKjHy5LNt N2CkoruQsaGkAUhs9iMM7yEg+Fujez7APu3kinC8wPTKDvnJGO4LlUoWrTHIdJlPNK uxxZEz/GCJ15w/A59PNWF5Fr4M153V8K/uqukhrc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id E3599F806AC; Fri, 1 Dec 2023 14:21:07 +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 23009F8069E; Fri, 1 Dec 2023 14:21:07 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0A6EBF80612; Fri, 1 Dec 2023 14:21:00 +0100 (CET) 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 781FCF802BE for ; Fri, 1 Dec 2023 14:20:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 781FCF802BE 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=leq9V58c Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50bba1dd05fso2952790e87.0 for ; Fri, 01 Dec 2023 05:20:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436842; x=1702041642; 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=k2Zjl+ghnoX/3uQpkhvwTgBBfYBwCJ4hUzQ4RLGrPPQ=; b=leq9V58c5qwINpsYiiqU0JSUtSGZzubavrfpk7ndBfBxIMgsAgaRwyV/+E1lSLKt9s BCFipqWsyX7m6N/00tXmv2KTcf/5HFlLnK5aP4QV22uAZFuCsz1b9traHjMOhsQ950j4 Bop3c54kgl8/6UllCjSrP1McXhYPTvlvXj8kRmvzed2f5UxMzPLl7jIwI8DPdMnmKh8l 1ZNpOejbooqfW1g9NCZ0eXUaIvvdCGMQR4FOB0bMm8Ip8VQycFUgJD20tmmRgJeOZmy8 exdAtCZjqyDrNlGVMw1iYYT/Idpfx/0h9b6OQYK+wxpzRW69Xlz15RorG2+YQHMQ+J1M 5pZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436842; x=1702041642; 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=k2Zjl+ghnoX/3uQpkhvwTgBBfYBwCJ4hUzQ4RLGrPPQ=; b=ROdVAGTsQKBhWdIqPcvD4u39/YsIyaz+7t16q7TLjQCuXAr0Fc7Fydf6GhgvWo65hA UHLIGEUhSo2C/J1JFzn2KQ0AJZSXg4uxgpUjAknrfIVXVZLg+EkIiLEG1QOldeO2sUNH Bx4FQ1t+IW6JfCOSRq4n1FXxxnHLo1lhfNob1BT5ydTblIU2AyTR5fqh1Ln3IdmJa4b6 5H1x7ZYF8b6bZzfqWYPC+rOMxbb6EQgE7brqaqTzLDjO2ZAMAwQsy7qsBQy1rgdtna21 VdSoS/pbmKta4TEXRV7qOWol4l8mtcgrFJ/CFgER9cQgf6dEhR1VoHaMBJGIuxYlmrJR 921A== X-Gm-Message-State: AOJu0YyfIIhCaHQthO7fxJdLS7cokPy2wDE6tVsHyNBbRTei20CJVuKL KU0UBrojiUk4PQwo76ewbRqTE26KXAUuqJMjwcY= X-Google-Smtp-Source: AGHT+IEP9YooEM6UIg2kUPyWgnGCZVy2TmLr2VGSLb6afACF8IimZsUAaROd3HdHHX8+hnBq6Qopkw== X-Received: by 2002:a05:6512:118f:b0:50b:c7b0:ecaf with SMTP id g15-20020a056512118f00b0050bc7b0ecafmr892089lfr.49.1701436842052; Fri, 01 Dec 2023 05:20:42 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:41 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:38 +0100 Subject: [PATCH v2 09/10] ASoC: cs43130: Drop legacy includes MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-9-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: 2DGAX7XH6LPI76CAGA7RQDHGKPZG3YUA X-Message-ID-Hash: 2DGAX7XH6LPI76CAGA7RQDHGKPZG3YUA 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. Acked-by: Charles Keepax 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 Fri Dec 1 13:20: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: 749010 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 8B3DEC4167B for ; Fri, 1 Dec 2023 13:22:44 +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 0560EDF4; Fri, 1 Dec 2023 14:22:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0560EDF4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701436963; bh=GefnZjYNxVGqWTPDtMdCFkCbRrC5ZFPfiZrAwKmB1UI=; 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=rOt20KPBpn11tUuSBXkOfLyRdyolnFimr5PSFSjUgWW+NHrMPptxIBk78uOgob3ZC Tb7O0ytXUyScLFBuN+TuEZVhzrnkR18Rm07J0au967EUCFDGcyfLJa/eiQvWf7kxeq aB1+jydG3YlUD1qF2kGnOKOx+Bu10r1Ehl2nmR3g= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 233D0F80638; Fri, 1 Dec 2023 14:21:03 +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 59013F8065E; Fri, 1 Dec 2023 14:21:02 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 701ECF805F4; Fri, 1 Dec 2023 14:20:56 +0100 (CET) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 36AFBF80254 for ; Fri, 1 Dec 2023 14:20:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 36AFBF80254 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=jje8AK8i Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50bce78f145so2344494e87.0 for ; Fri, 01 Dec 2023 05:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701436843; x=1702041643; 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=+fvbs0Xp4GpuorKL8Tfj6BakgsRgukno1Vk7LhvLiBQ=; b=jje8AK8i22QVf61QAmd+e1C2cgJxsQMBgYTh1VEsik3eiK/c0E4Kd4PJxdA1UwqHtI 4VeJCaXYNVjYKhcexaE9a0ItIhsD+LkZyTs14Bs70xwoEIPaS+Fs9+5Qp16ByxYEaovk msU7KuVgFVd8BehWTf+bVdnLyWSG8TdjOt5SVb2IgiVcG7ihKSuS84zJAVO5xML02DCk nAuRio79PF0x0XIlVpADzLNuYIbm5DAk7LeAknQu4midZucAvEeJzr7Kt2IG/p7LJoAc btr0UIZ0uhzIgpC4cqbYl6NzvFdV2+GLyQjHHIfhDPCz+ofUue9/zETUPOsL9mGq+Mv/ +quw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701436843; x=1702041643; 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=+fvbs0Xp4GpuorKL8Tfj6BakgsRgukno1Vk7LhvLiBQ=; b=GwbkBD5pffxBpCCaoXVsq/3sObI5E8lWxgYJSLSrDL4qxNByZk/eCnLrHqY6NdEUvs X7Lzfq4vugCqIoQCsUpuz0QCWIz+94aYRBSyumzlJIcH2MgI0PcHWMBowoXTOhS8vMvg jEVy5d5X5oyPrOcmol7o2tCQDY9m8IySiK0rYwuOMJ37z3sE5dt6u1B1mI1vbJ2On3n2 Rl5RoBj+yIu2MoyZK2AqFC295ZflkFsRyaVk3A7ToGUjdP4iRC0wcYYW5+VZtCpNRrOV y+6Th4Hkbq8yB/twQRraLp8xkYE1TsNU5kz9I11HHt5WTJBewoTcHuFDBAnh6BQJrhUo Ycxw== X-Gm-Message-State: AOJu0YxEhznftxMmsD062y7Lp9b0SSLO4gUfiFVGZFI9QI/MhrcmWcUd aHf5oxqiXlIgYCz7NHgULTKuL8XENPIMMYUe7E8= X-Google-Smtp-Source: AGHT+IHtjQtt799xLpoVCezjOYP5wu/F6yl+pLI9Fcs3e2ywoijlCxrF0bm3T9nOT+wMNRQXj8UvwQ== X-Received: by 2002:a05:6512:1046:b0:50b:b9f3:9fc6 with SMTP id c6-20020a056512104600b0050bb9f39fc6mr534218lfb.54.1701436843083; Fri, 01 Dec 2023 05:20:43 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u25-20020ac243d9000000b0050be054b4e8sm1081lfl.121.2023.12.01.05.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 05:20:42 -0800 (PST) From: Linus Walleij Date: Fri, 01 Dec 2023 14:20:39 +0100 Subject: [PATCH v2 10/10] ASoC: cs4349: Drop legacy include MIME-Version: 1.0 Message-Id: <20231201-descriptors-sound-cirrus-v2-10-ee9f9d4655eb@linaro.org> References: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@linaro.org> In-Reply-To: <20231201-descriptors-sound-cirrus-v2-0-ee9f9d4655eb@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 , Charles Keepax X-Mailer: b4 0.12.4 Message-ID-Hash: AZQZLAGPHQSHVNQ4BT5JJWT6QD2KB6WC X-Message-ID-Hash: AZQZLAGPHQSHVNQ4BT5JJWT6QD2KB6WC 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. Acked-by: Charles Keepax 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