Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2699265pxy; Mon, 3 May 2021 06:12:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3Jid8qTLWGe4kwHArHo/+6b91Oh6JT8QDjlfiUEJQfjaU2TFAmnJfbmv3XhKJCiKNJTE8 X-Received: by 2002:a05:6402:36e:: with SMTP id s14mr7835491edw.338.1620047532223; Mon, 03 May 2021 06:12:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620047532; cv=none; d=google.com; s=arc-20160816; b=gUtawvLajcH/fZauCCKmIUca5WfMrGECeOn+kAuDpU1/bjXX0NXLvKFObToshElp+L vOFoP1en0vS5oRPImk4cqgevSSlshFyivqqvdC7g3oWRSn52ynExeb14TaW6G0ybLwp6 5yk8TYAO7w1QhmG0BxL5ukbRXQo49S/Om8fdjrdiEk/nIGg1fmE66L3s0WT7+kIX/2Nq BnMLZnJpTsR30//dwGGVzPSp64uJ4sefC8vHYa09X+nN9nzepEPNqtVFP/1EL1En3oHA 977f7CmOB0xTh0I1KtqOSqREObqyrY7kvmBldc1INgjGMZm39VYogqTTrLC4a9yWjBU4 Jb7Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wvoBgFd4YP8UCkblgI2j9sN743r3uJTTfMgWK0ZTp1k=; b=MXXTj4vHUXTLIG2p9QMy/dirx83S2UM8bxk6zpJ4NS8ba38aS36afvrORwV/IxvnL4 lJow6FjMt+jJDLPOP0tUZqkJWdTZcnE9YfXf3eX8xqB4S1OODO8gMotrcpC4GmuhKbZM EYD/2csmoDb/uZKp/bij9K9ZcdA9mOa/e1fUyAuxntK36aH8ssTTjW6ZieBBW0dxKZeX sMoBtpxxtr8VPhJqcFw9906k/YyETladAadPSNGWp782g5sPyUnVOQVFFQ8v1N74ZEBv bUJRTEXMc5cqjtMM17RoEKiC8vQuD3gd0SCiCr3EZB4hn/XPICsq4gZzcAHiOa03WYKI BIzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=t8gQqhq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t2si8802079edy.589.2021.05.03.06.11.47; Mon, 03 May 2021 06:12:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=t8gQqhq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233601AbhECMCr (ORCPT + 99 others); Mon, 3 May 2021 08:02:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:35716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233019AbhECMBj (ORCPT ); Mon, 3 May 2021 08:01:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4D9A2613BA; Mon, 3 May 2021 12:00:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620043246; bh=7nYh1trQIaC0me4nfb02qtcweSqbMkdz6jBv/ClK6v4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t8gQqhq4N1JmDrUEb0oXaaJOJ9GLEGvMTW79GnRhbN7ZG3Qd897UXRzhQe8+L3DcG 9M8N4mus0qLL9GMaTgg0+SlulHDOu2rMk2M0uVsIeJ1Yw3DvNKPolLQIlJ9Am0k8x5 S3CogWEkcIc7KqBTVMygFG/tOJytvKy29tcvksQI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Mark Brown Subject: [PATCH 56/69] Revert "ASoC: cs43130: fix a NULL pointer dereference" Date: Mon, 3 May 2021 13:57:23 +0200 Message-Id: <20210503115736.2104747-57-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503115736.2104747-1-gregkh@linuxfoundation.org> References: <20210503115736.2104747-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit a2be42f18d409213bb7e7a736e3ef6ba005115bb. Because of recent interactions with developers from @umn.edu, all commits from them have been recently re-reviewed to ensure if they were correct or not. Upon review, this commit was found to be incorrect for the reasons below, so it must be reverted. It will be fixed up "correctly" in a later kernel change. The original patch here is not correct, sysfs files that were created are not unwound. Cc: Kangjie Lu Cc: Mark Brown Signed-off-by: Greg Kroah-Hartman --- 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 80bc7c10ed75..c2b6f0ae6d57 100644 --- a/sound/soc/codecs/cs43130.c +++ b/sound/soc/codecs/cs43130.c @@ -2319,8 +2319,6 @@ static int cs43130_probe(struct snd_soc_component *component) return ret; cs43130->wq = create_singlethread_workqueue("cs43130_hp"); - if (!cs43130->wq) - return -ENOMEM; INIT_WORK(&cs43130->work, cs43130_imp_meas); } -- 2.31.1