Message ID | 20231011134853.20059-1-rf@opensource.cirrus.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp552743vqb; Wed, 11 Oct 2023 06:49:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuaQ78N+Aj3+hp9EbEx+hF9rrOtS9ArdwJPZNeUWSglHzafqP87PMJCetDh4HyK3wP0K9N X-Received: by 2002:a05:6358:c627:b0:164:8d69:25b8 with SMTP id fd39-20020a056358c62700b001648d6925b8mr7198631rwb.1.1697032170477; Wed, 11 Oct 2023 06:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697032170; cv=none; d=google.com; s=arc-20160816; b=ckQBEm9aPMlB00iamg054/wXQKLEx2aOnWo92r7nn310f1m8Q91QuDuv8rEOnddwxt UqOZ4JaB1VkJWXN9c9kjpRXtj21B926hd7kLo+oHk4q4rov6PEKBXVvBp4Ry7WQwCJWW GMizBjmyjLqWK/XHipjPzdqkZx3oRiai0CTG4Fm6+OEXiJ++0nqAvFceEaj4Dp2a4dyb SuYDYhopLl7MCbSw5aqhnvzxkp7UAufm/TBOPZ6TCB1Ipk1O9O2txfpAFXbFWmLkJNZy IQsA8gS51L4YF1CwdyUhOs+kEmV1k1WthJbp2wWQ2Mp6dl1j6uUdgIi7Kmd2Mgo9qBpe 2Yew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XoD01kMWN4fQN1wdVZoXVYabTLtU/S3zUI9m0HUgYB0=; fh=hZleMIk3Uoie8xbqbMc+vM4Ee3X4Shq6Vxm2DXP/qT8=; b=CmHGP6Ynx0Ir2sRKc6psfYNMYB1jMasdinXq+1NvlpQ6fdg8I0txRa/Dyb/p4j0Rau W0fx6gnS30AbxwF5/r7QRydaVct4fTJS2BCcSgjQUFdICxba07ohPSL/K8NKUXXxOs5g PH11AbJXmUBnV0jChhOlySrplzpCKLo86asNpcEHAFBUKifym9R415ktxfjOKKiBPNzv Y9MUdabUlnxcZv8DCIRLwyG79sNoI7QVcopGogZUS3oEbeCmfALMXNDX+deurB9u/kkl jFkSmw5wTiEcG7pZ2AYZesDhkUzP3poLtmRQjIRjMI0HtShTMmnMrzmhJlP0y3qaRdkh PErA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=o5bALYg8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 143-20020a630195000000b00563fac86c55si14423403pgb.134.2023.10.11.06.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 06:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=o5bALYg8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9D15F81BA648; Wed, 11 Oct 2023 06:49:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235063AbjJKNtT (ORCPT <rfc822;kartikey406@gmail.com> + 18 others); Wed, 11 Oct 2023 09:49:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232660AbjJKNtS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 11 Oct 2023 09:49:18 -0400 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B729892 for <linux-kernel@vger.kernel.org>; Wed, 11 Oct 2023 06:49:16 -0700 (PDT) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 39BCWGUf016437; Wed, 11 Oct 2023 08:48:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=PODMain02222019; bh=XoD01kMWN4fQN1 wdVZoXVYabTLtU/S3zUI9m0HUgYB0=; b=o5bALYg81rbqCJxnx1hQfHijMVC8A4 mi8tdTg9oYwk8Q15IhuK21igirptUF4Y6TsN+VScLoXeVPd+v5Dvhyr7sUekoJZc 3ijw6MlAAkV0qhDzka5nKA2+CzgJzGyeXFqKbCBSXUlao5EMvWnqRYvSFnBYpw65 CPF3n4gGLSXNdmWrrcbnzhJNCdk9Zk/gSiWZBhdcUfzSw3SQUASiqoA4YPyRqw/0 2w5k+QlDq5Qqg8lwtJbV+8lFsDrwzXPEq6CscbOVoWVCVFnpo9HE65pC4yRZHgCK 4hKUX9+b0Gy8PPtWl4c4K09pZZ3QpqbbcaCT0vVtiWsLkxaN7bPNwPIQ== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3tkhhaku6k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 08:48:57 -0500 (CDT) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.37; Wed, 11 Oct 2023 14:48:56 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.37 via Frontend Transport; Wed, 11 Oct 2023 14:48:56 +0100 Received: from EDIN4L06LR3.ad.cirrus.com (EDIN4L06LR3.ad.cirrus.com [198.61.65.230]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id CC49746B; Wed, 11 Oct 2023 13:48:55 +0000 (UTC) From: Richard Fitzgerald <rf@opensource.cirrus.com> To: <broonie@kernel.org> CC: <linux-kernel@vger.kernel.org>, <patches@opensource.cirrus.com>, <alsa-devel@alsa-project.org>, Richard Fitzgerald <rf@opensource.cirrus.com> Subject: [PATCH] ASoC: cs42l42: Fix missing include of gpio/consumer.h Date: Wed, 11 Oct 2023 14:48:53 +0100 Message-ID: <20231011134853.20059-1-rf@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: _RkLyYYvkM4NTf72gbXnrIdESanvKDDc X-Proofpoint-GUID: _RkLyYYvkM4NTf72gbXnrIdESanvKDDc X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 06:49:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779467204722184595 X-GMAIL-MSGID: 1779467204722184595 |
Series |
ASoC: cs42l42: Fix missing include of gpio/consumer.h
|
|
Commit Message
Richard Fitzgerald
Oct. 11, 2023, 1:48 p.m. UTC
The call to gpiod_set_value_cansleep() in cs42l42_sdw_update_status()
needs the header file gpio/consumer.h to be included.
This was introduced by commit 2d066c6a7865 ("ASoC: cs42l42: Avoid stale
SoundWire ATTACH after hard reset")
and caused error:
sound/soc/codecs/cs42l42-sdw.c:374:4: error: implicit declaration of
function ‘gpiod_set_value_cansleep’;
did you mean gpio_set_value_cansleep’?
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 2d066c6a7865 ("ASoC: cs42l42: Avoid stale SoundWire ATTACH after hard reset")
---
sound/soc/codecs/cs42l42-sdw.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Wed, 11 Oct 2023 14:48:53 +0100, Richard Fitzgerald wrote: > The call to gpiod_set_value_cansleep() in cs42l42_sdw_update_status() > needs the header file gpio/consumer.h to be included. > > This was introduced by commit 2d066c6a7865 ("ASoC: cs42l42: Avoid stale > SoundWire ATTACH after hard reset") > > and caused error: > sound/soc/codecs/cs42l42-sdw.c:374:4: error: implicit declaration of > function ‘gpiod_set_value_cansleep’; > did you mean gpio_set_value_cansleep’? > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: cs42l42: Fix missing include of gpio/consumer.h commit: d6cbc6a3a856a7d8047316d81e2e039e44432acb All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/codecs/cs42l42-sdw.c b/sound/soc/codecs/cs42l42-sdw.c index 974bae4abfad..94a66a325303 100644 --- a/sound/soc/codecs/cs42l42-sdw.c +++ b/sound/soc/codecs/cs42l42-sdw.c @@ -6,6 +6,7 @@ #include <linux/acpi.h> #include <linux/device.h> +#include <linux/gpio/consumer.h> #include <linux/iopoll.h> #include <linux/module.h> #include <linux/mod_devicetable.h>