Message ID | 20231006164405.253796-1-rf@opensource.cirrus.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp460667vqo; Fri, 6 Oct 2023 09:46:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFhJm507bmlvOMnw1vsUK3O6wzYoIx+umOETPYPkXC6G9YiwTWsuEPUQJC3oQgtq47I42WJ X-Received: by 2002:a17:903:2015:b0:1c8:922e:e00f with SMTP id s21-20020a170903201500b001c8922ee00fmr1527201pla.15.1696610793570; Fri, 06 Oct 2023 09:46:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696610793; cv=none; d=google.com; s=arc-20160816; b=rKVFWl2+IXU+0Z1XXStCqGRb49u1qiYULqpUasgIb3MiqrlfiMqi+IN/7qjZnOS7HD 03hyQ9WJWcF8bnwwAnODE/ZkSLnhkmzaoGaNp/JAbvA6bo5eb4jjFAGtFWLuQEKDb5Nu xRFJCyz52QgYB+/cl4yqN/Jf3ZAkDIY9/ddrezkh6ZSjbBuAa2Y8GIiP+KfSy8xk94Lg HisE7pHY1Ec3wR8x5Bdfk2COPu6PAvXtTP3fncJS+/8UGAmu2Wtb4KWH1pkh8Hf26A03 GUoGKr8rwBwC9xPoQGeTUKbS67X6SAsHWlBiEIrVtbHE+RajkPYkVGpSESo+kAE3QA+h 8Fzg== 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=pH+b7cTnbRfSavq8cBv4h/A1y4bvx50yn5YvvvNOCj0=; fh=NZvDB3p5/dj12VJ6bkH8XKdPoVUS76nabXbZ7yzlKB8=; b=rANcnxprkIcpejHi5jdFEPIT9h1Fh8PbDxr6UP22PnRRCFKuEiLdUZA5+6itaw9XVF ozo3ZM4SZ1Rr0Ve23f2XF76939NLpDrJ9mllBrkybh7PTFUoiinEzL6ctnpqrqGQTPQr sclOIRtb3EuIv98mFIva0IBHMFhSUSL7ozsuxcHX6f6gYwqksAfccU8//lfOxdqRNL8G p8dLGARPUHKfesOxoujtgJt1NT5/Zn4/mPS/+oxjPo4fY73gtY8W/YyZJCoPMzw9BZVu 09CilhIRKOIro+t3JFJseFGcMQ3Lqh0dP5T1LYXUBik/gonMGhKlIxyudzHrMre41pUw EXXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=hN1uLARq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u12-20020a170902e5cc00b001c563263222si4440190plf.376.2023.10.06.09.46.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 09:46:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=hN1uLARq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 769AF8076C9A; Fri, 6 Oct 2023 09:46:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232963AbjJFQqR (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Fri, 6 Oct 2023 12:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232979AbjJFQqH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 6 Oct 2023 12:46:07 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A7F712F for <linux-kernel@vger.kernel.org>; Fri, 6 Oct 2023 09:45:10 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3965fxui025983; Fri, 6 Oct 2023 11:44:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=PODMain02222019; bh=p H+b7cTnbRfSavq8cBv4h/A1y4bvx50yn5YvvvNOCj0=; b=hN1uLARqUxZxNaej5 5gux3uKBYvy/j2b8lnFGtq4n8vdSjuXAnXV/WZIHiS9XabcXwFE5sRogoiHpeBs0 UpYYbxzylxn54K2IkLihlN4tQOOjfc6GOf0YeJ/J7ZVi4+hWewm2uzNq9YEBLBFc 2x9nzxNKOH8n2iHpCTAnJ6qm4VoBKgiB6JcXmCe6txiPllpKKrXQooZGJX6xAK9p cKdy9z4WUwinbqPVeOevciZE+9OCz4+hji5A5pDIXlW6yTxNt73Y7DjY/dWlJxbH Td/obIFZ7TCI+6BSQv7vwTUseKAZtOUuLRoCdVcHsyOMilaGRkxf3SJynoRxpPWl y5LZg== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3th2dtc30q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Oct 2023 11:44:10 -0500 (CDT) Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.37; Fri, 6 Oct 2023 17:44:08 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.37 via Frontend Transport; Fri, 6 Oct 2023 17:44:08 +0100 Received: from work-debian.ad.cirrus.com (unknown [198.61.64.45]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 0E3B2B2F; Fri, 6 Oct 2023 16:44:08 +0000 (UTC) From: Richard Fitzgerald <rf@opensource.cirrus.com> To: <broonie@kernel.org> CC: <alsa-devel@alsa-project.org>, <linux-kernel@vger.kernel.org>, <patches@opensource.cirrus.com>, Richard Fitzgerald <rf@opensource.cirrus.com> Subject: [PATCH] ASoC: cs35l56: Fix illegal use of init_completion() Date: Fri, 6 Oct 2023 17:44:05 +0100 Message-ID: <20231006164405.253796-1-rf@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: y9UfC_QQ_r_8KptxzeJwrtZ5C0U7ECQu X-Proofpoint-GUID: y9UfC_QQ_r_8KptxzeJwrtZ5C0U7ECQu X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Fri, 06 Oct 2023 09:46:31 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779025359442139391 X-GMAIL-MSGID: 1779025359442139391 |
Series |
ASoC: cs35l56: Fix illegal use of init_completion()
|
|
Commit Message
Richard Fitzgerald
Oct. 6, 2023, 4:44 p.m. UTC
Fix cs35l56_patch() to call reinit_completion() to reinitialize
the completion object.
It was incorrectly using init_completion().
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: e49611252900 ("ASoC: cs35l56: Add driver for Cirrus Logic CS35L56")
---
sound/soc/codecs/cs35l56.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Fri, 06 Oct 2023 17:44:05 +0100, Richard Fitzgerald wrote: > Fix cs35l56_patch() to call reinit_completion() to reinitialize > the completion object. > > It was incorrectly using init_completion(). > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: cs35l56: Fix illegal use of init_completion() commit: af5fd122d7bd739a2b66405f6e8ab92557279325 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/cs35l56.c b/sound/soc/codecs/cs35l56.c index 232af4e8faa4..8ccdd3f134a5 100644 --- a/sound/soc/codecs/cs35l56.c +++ b/sound/soc/codecs/cs35l56.c @@ -708,3 +708,3 @@ static void cs35l56_patch(struct cs35l56_private *cs35l56) - init_completion(&cs35l56->init_completion); + reinit_completion(&cs35l56->init_completion);