From patchwork Wed Jan 17 15:12:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 763673 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 91243C47DA2 for ; Wed, 17 Jan 2024 15:13:08 +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 1731A210; Wed, 17 Jan 2024 16:12:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1731A210 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1705504385; bh=zTLF4pKwDUhmIJpTw+ifYX48G8Y/tLdkZCXLW1dsOdg=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=okjXW09v+GawH94+xgxDQrebRjscvMvmNmSq9NZdrSY3uAVcWrhQOnSuAdu9yLUqh UhBDwaRXnH+AcQTsCsoqwUy+0+/u4L3S5DWgUXFHJoOJTjP9dziGc4Su5kpvxREufD Hpn1Tha3Nk9P1Qa3yXkJ/xQKNrqmXmgX3RTQp4fo= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A5E21F8003A; Wed, 17 Jan 2024 16:12:32 +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 E1E76F80568; Wed, 17 Jan 2024 16:12:31 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D4264F801F5; Wed, 17 Jan 2024 16:12:25 +0100 (CET) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 2DA2AF8003A for ; Wed, 17 Jan 2024 16:12:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2DA2AF8003A 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=yPIxdBVp Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-7831c604a84so818334085a.1 for ; Wed, 17 Jan 2024 07:12:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705504338; x=1706109138; darn=alsa-project.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aZ5dWg/o67onmhTzNFtXrOTvUPTxoBK6DGUcni7z13M=; b=yPIxdBVp0tIl/QA9C4sx1oRqt0Ipby/ScMBzs1OSroNi3caLLTjeg9UV6FmMfDJ4AC 8TEm5ynRG39IBRYOEsOq8m9WMd9iy43oVZqIvQnzU3raZAgm0326Xocb+wtVGl9q+3Rl I+/SJo/A9V0TqrP3mxN+W3DBki0tSKsrzUqvd5/UaIKqHDKFexUz55LBWofs6iVvJbIX 4dQdeJXAl2aVqAt2JiiKMUuhFEgG/AqwSqKdvuGtX9sL6+VvVASxv8n9xJ2v+PRleiys B29RnqGVY8gJJACnu7/EIR1QjqKG7wUX0ltJ7DyB+Fv0ItkF155G18lWxDHNQC+wuLaR 4/sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705504338; x=1706109138; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aZ5dWg/o67onmhTzNFtXrOTvUPTxoBK6DGUcni7z13M=; b=JuDotwlp/0xdQN6o3RT5e12vnqKsobc3Eg94zL/2b6KaDQhoy2Fp4UdiW3cebtXifT DIYTFvkSj3LSZDzong0WAWqYJgIXdeD4UvV8pLc8atb9Q7KrhdWDvxsCzzkuUy0HtHzO YCmGaVKuOtqCh2Y9QyVRB6Ui/gFgv6o0N56dKm67XhGN9t7rCwKUpZLOIySz9f1Aub4q UwdmTn+6dN9l+V5JCT8xO/3g5aUQAqgbmH/0BhsqHgkOOZxi8+UiGwqLrgi/pYWd0pIL Gtn/oIKRKiiI6l2O0zkxHzTjvuefqHoKGNJnYuI+RQPCLrudEPBhl4g5xV6aeHCt8aj6 VdFA== X-Gm-Message-State: AOJu0Yw8BLOmkfVUdmfst1OnSL+fom70sKOc3MIa7nfhig8qL4UPiJb6 3AanyfPzrFzUrUKS4s303wPxhp6J9ZmkHA== X-Google-Smtp-Source: AGHT+IFuzN2ZXkdL1furtqKyL/+PADgDDPC7U/QwREJrS3KVsloHm7pc6AYqgLOErGBf8DiUCfrogw== X-Received: by 2002:a05:620a:55b0:b0:783:54a1:136f with SMTP id vr16-20020a05620a55b000b0078354a1136fmr5882267qkn.58.1705504338226; Wed, 17 Jan 2024 07:12:18 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id m7-20020a05620a24c700b007816cf21f7asm4519337qkn.76.2024.01.17.07.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 07:12:17 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH 1/3] ASoC: codecs: wcd938x: handle deferred probe Date: Wed, 17 Jan 2024 16:12:06 +0100 Message-Id: <20240117151208.1219755-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: 4VGIQWSJSMAGP4WKMGHU4CKSL57INHNG X-Message-ID-Hash: 4VGIQWSJSMAGP4WKMGHU4CKSL57INHNG X-MailFrom: krzysztof.kozlowski@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: WCD938x sound codec driver ignores return status of getting regulators and returns EINVAL instead of EPROBE_DEFER. If regulator provider probes after the codec, system is left without probed audio: wcd938x_codec audio-codec: wcd938x_probe: Fail to obtain platform data wcd938x_codec: probe of audio-codec failed with error -22 Fixes: 16572522aece ("ASoC: codecs: wcd938x-sdw: add SoundWire driver") Cc: Signed-off-by: Krzysztof Kozlowski --- sound/soc/codecs/wcd938x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c index faf8d3f9b3c5..0aaf494844aa 100644 --- a/sound/soc/codecs/wcd938x.c +++ b/sound/soc/codecs/wcd938x.c @@ -3589,7 +3589,7 @@ static int wcd938x_probe(struct platform_device *pdev) ret = wcd938x_populate_dt_data(wcd938x, dev); if (ret) { dev_err(dev, "%s: Fail to obtain platform data\n", __func__); - return -EINVAL; + return ret; } ret = wcd938x_add_slave_components(wcd938x, dev, &match); From patchwork Wed Jan 17 15:12:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 763303 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 09149C47DA9 for ; Wed, 17 Jan 2024 15:13:23 +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 46305741; Wed, 17 Jan 2024 16:13:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 46305741 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1705504402; bh=CEoOOu3lx1F0t2DXMRp7Dd+POoFYCjzJbOK7DJcvqdM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=BPKPqKwBbIt/Is8C1U/YOHfM0/a0dvMkuPSKOv818a7v3io4jyjWGTm0bcmSNmWIq FNPiOMWfVTygybUxxx9FdbRSA0oWjD5GXihdP0383GkTfzoa3Q6gC9OgtCEyEyGsEr xTTO9MeYLFiqADhZVnmJsaZIt//hQww92ZGYtwSU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C775CF805C5; Wed, 17 Jan 2024 16:12:33 +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 29623F805C6; Wed, 17 Jan 2024 16:12:33 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 13BE5F801F5; Wed, 17 Jan 2024 16:12:28 +0100 (CET) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (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 7522EF800F5 for ; Wed, 17 Jan 2024 16:12:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7522EF800F5 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=TLBEClB9 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-7831389c7daso960434085a.2 for ; Wed, 17 Jan 2024 07:12:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705504340; x=1706109140; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jvT4DYI0xpteMdP3q2s5kHm3KTUWGSKMdy7WHIRX+6Q=; b=TLBEClB9aytjG28U8c6JdKnZI9q05F3jQyV2xWKNAtEyjXMEBFjzr5fPCn4WC3d69b Rqa13Hd/4TXOj2bmNsw7R/CcqdMO4h2hJIdQ+BuCq7jT/TvdftOnR1GOTxMZFy7whlC7 DNnKLNgMdfPLW2X2bWVm1uHm8tMkBVhpl4lLQ+tGJSyPPyBeNQcbq/W24yClNYnuf9pN yS8n6lmqV+HjRRl1Ck8+e3wk96Mexj5HkTzYeLc+1So8yjHQb8h1VnqNFZ1HkRrZyCoU AJHvA3j8x2r3Dc+8XRpuKLnkXg62i9a91RNvuiZz9whnM+9q7OFninqTUxlSaAPf7P5p 0hQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705504340; x=1706109140; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jvT4DYI0xpteMdP3q2s5kHm3KTUWGSKMdy7WHIRX+6Q=; b=E71rKpY4Bo1CznidWgaCSat5sdo/6o6SqKY1CdgAxoiYPtx/6v+3ptaBN0mqCtexFR po7Wz+tm9Q1YckpKkI9Vsc2tTSzoDVG3+R9lTUq/GX9JSYzzXicecJfxGeggXcViHcIe KZisei9mVLY9FxFo74iT8chgYCJp4b7ZTo3BEgNKYQt79roJopX5+U00DAlTfzVXnqOG Xb+44t5NiLj9vFBf2TYAuc0SkPElHVi9lt18g5zdbjpj0uEHvhc3pMU2D77ToWN5WkbE jNZdgIp65fXRhJE6YS/2ygXm5W39F3WJyde/YQaZLertN3FnCujVareooeiwpdI/toXW exWA== X-Gm-Message-State: AOJu0YzZUmgyd+diVuFS7fVaYqEHBh7TD5d7qkrJMGJu3CSfSH5o3wPC 3EnldYqY3Jc3NBTkYh1jTlEXO0C2qm2f5A== X-Google-Smtp-Source: AGHT+IH39mkNRZQTB7lr0OTpjPsUCqmf9g+mw8wVtjmr6UAff5u+AAbQ2wJeHKe/MhvIiKUuawEWmw== X-Received: by 2002:a05:620a:10b4:b0:783:4e8a:6b19 with SMTP id h20-20020a05620a10b400b007834e8a6b19mr7348059qkk.14.1705504340607; Wed, 17 Jan 2024 07:12:20 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id m7-20020a05620a24c700b007816cf21f7asm4519337qkn.76.2024.01.17.07.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 07:12:20 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] ASoC: codecs: wcd938x: skip printing deferred probe failuers Date: Wed, 17 Jan 2024 16:12:07 +0100 Message-Id: <20240117151208.1219755-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240117151208.1219755-1-krzysztof.kozlowski@linaro.org> References: <20240117151208.1219755-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Message-ID-Hash: SAML5AYNA7RSVACPTIWRTZ356DLQLBBJ X-Message-ID-Hash: SAML5AYNA7RSVACPTIWRTZ356DLQLBBJ X-MailFrom: krzysztof.kozlowski@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: Probe calls wcd938x_populate_dt_data() which already prints all the error cases with dev_err_probe(), so skip the additional dev_err(). Signed-off-by: Krzysztof Kozlowski --- sound/soc/codecs/wcd938x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c index 0aaf494844aa..54a21d2f5c40 100644 --- a/sound/soc/codecs/wcd938x.c +++ b/sound/soc/codecs/wcd938x.c @@ -3587,10 +3587,8 @@ static int wcd938x_probe(struct platform_device *pdev) mutex_init(&wcd938x->micb_lock); ret = wcd938x_populate_dt_data(wcd938x, dev); - if (ret) { - dev_err(dev, "%s: Fail to obtain platform data\n", __func__); + if (ret) return ret; - } ret = wcd938x_add_slave_components(wcd938x, dev, &match); if (ret) From patchwork Wed Jan 17 15:12:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 763672 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 68A1BC47DA2 for ; Wed, 17 Jan 2024 15:13: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 28D0183B; Wed, 17 Jan 2024 16:13:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 28D0183B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1705504420; bh=GCZrQDHaMa0VPIX4o4j8+CDBJ3xXXLP0Tb/HGEhCxls=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=kLDkbBrQdAKRv7xN5/EcqY5KF6TO6iFyMlpPiPqoe2Zz7b735okBHF54iNiYrkmmq ZAYE09MznAdCjlqtDqE8WfK6nBE0DUXjqWhwQV7sGK0N+iPwjKZVLSoACYNEkwK+NB 3UIOoY087bwX+5QhO0mO+BbJyys/fLRlP9j9a+I8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id CB7ACF805F4; Wed, 17 Jan 2024 16:12:38 +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 51936F805EE; Wed, 17 Jan 2024 16:12:38 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B4079F805D8; Wed, 17 Jan 2024 16:12:34 +0100 (CET) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 7ACD2F80548 for ; Wed, 17 Jan 2024 16:12:25 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7ACD2F80548 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=ZQTwJ3/I Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-42993124fa1so67766491cf.3 for ; Wed, 17 Jan 2024 07:12:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705504344; x=1706109144; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ixH1kcICmlswgGdL4OCIid5fgK6X+yz0saxJFyTHsOI=; b=ZQTwJ3/I6gwmfkXFV/LEt8F7Qn1suUCQw1rw6GHr3mg+8bQXxSWQ2PN/sfOWjvbSdr OvP3r4P2gbuxo0MeR3YQMKiyGFqYLfCC/HKE2qIaCxSdpmLjQmfBR0EOZOSb0FNc9jkq 5ZaHSUM7IpdgWxlXev70eojoMVg/c/ViCxlNyFfBM0oC/AWcMshM+nR4KEmeshlj3h3Z hNEDRDXnOWNmAb7XnqCTopI7dDSIMbbuvO17ImpG84vn6+j+Q3PlIHea/0VfolPVbG1A uiqHyph9vvuen57efzhjHyLMnU1ta7TO24FPFI+cCxEDdtv3I7tjlrS9GYSTLev4ke1E 7biQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705504344; x=1706109144; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ixH1kcICmlswgGdL4OCIid5fgK6X+yz0saxJFyTHsOI=; b=gY5621ZPLCgfYqtLDYdwX55s8zgc62UoHrnoeD8oXGz3NxbzRjy6a7Sqogx65wD/Ky 5+MKdxlvavBUKuBzXJk4Qiv/PrlUaraylm6giax/gkIFTAsngb+46ZWzK3Agzs9/6VxJ /Ej/k0UR01kBOov+Q/4k1QmO+bobCAaBw51qkd2MG/d56ahsbD65U/+Wo3lsezx3cBNi EDp7Zihrdf3q3lxoAkC0V/BsZ99NtNztyxVxnXgvDzu8dpHh1t8bo2WDC+jSByLVQaGb fkMx6b/GKLHWN0nCP1if5k42w0IC5wRvHhErNWNKTbtyW9DAgF2Az646MUSjVCWWs8YP IGrw== X-Gm-Message-State: AOJu0YwC1OkfaXTO/aw0EEzEJTWuAHIR4sh6Eyq39AEla6VqcUkP1X1S ispQ+HvK52lKN0RtBoVSk85gjjHJFI2bWg== X-Google-Smtp-Source: AGHT+IGKpZZkvxd3eMsUpIls7FJA2Nl5Ug6PcJy3m/KUNJ109oGm7KrlaXZDhPDpTPidr1LTLydhHA== X-Received: by 2002:ac8:578a:0:b0:42a:733:c26b with SMTP id v10-20020ac8578a000000b0042a0733c26bmr3066083qta.54.1705504342921; Wed, 17 Jan 2024 07:12:22 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id m7-20020a05620a24c700b007816cf21f7asm4519337qkn.76.2024.01.17.07.12.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 07:12:22 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] ASoC: codecs: wcd934x: drop unneeded regulator include Date: Wed, 17 Jan 2024 16:12:08 +0100 Message-Id: <20240117151208.1219755-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240117151208.1219755-1-krzysztof.kozlowski@linaro.org> References: <20240117151208.1219755-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Message-ID-Hash: OSSV4VM7UB4MQP4ITAI7ECZSJVAUBJJB X-Message-ID-Hash: OSSV4VM7UB4MQP4ITAI7ECZSJVAUBJJB X-MailFrom: krzysztof.kozlowski@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: Driver does not use any regulator code, so drop redundant include of regulator/consumer.h header. Signed-off-by: Krzysztof Kozlowski --- sound/soc/codecs/wcd934x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/wcd934x.c b/sound/soc/codecs/wcd934x.c index 1b6e376f3833..6813268e6a19 100644 --- a/sound/soc/codecs/wcd934x.c +++ b/sound/soc/codecs/wcd934x.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include