From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0696C433EF for ; Tue, 16 Nov 2021 16:39:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C25A961391 for ; Tue, 16 Nov 2021 16:39:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234387AbhKPQmI (ORCPT ); Tue, 16 Nov 2021 11:42:08 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:39186 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233055AbhKPQmH (ORCPT ); Tue, 16 Nov 2021 11:42:07 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AG7FClY005416; Tue, 16 Nov 2021 10:39:06 -0600 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=ODxpdqxltOMoYVFmvaxZez5QOWprLDG9j92jnhb+qXc=; b=D9tMtazs3USlI5Z+VkvpPmwy4u6n82jUDKMxQCgMDADWtMwyDlndGPTRrj7NkMucdRvQ PiFOSIzi4P4/nMjAr2f8X4UUU4gRayUJ6dnxJi02Li7KjkmUPQ8MrvYnHMfEI3CDY5Gf smPYSqPf9wrJKGz7V0KReTmck23nZURj9UBv3XlLp6v3nBkiu9YBRn+LCxlNvtCC6Kxc gldqf+cLZ7xjW4UEK5s59jlCNZl0sTRNIbaj3AlmUnmAM7nwYM+wQ1iBvGpvtzsF1nww OthxyOwNztBC9nLABlEGvcJJgooncdzuLjBVOIHa+8E9gm3EnhJh2/xq5Au0jowLJcjt 7Q== Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3cbdjgt3vp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 16 Nov 2021 10:39:05 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 16 Nov 2021 16:39:04 +0000 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.1.2375.17 via Frontend Transport; Tue, 16 Nov 2021 16:39:04 +0000 Received: from AUSNPC0LSNW1-debian.cirrus.com (AUSNPC0LSNW1.ad.cirrus.com [198.61.65.41]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 6789111DC; Tue, 16 Nov 2021 16:39:03 +0000 (UTC) From: Richard Fitzgerald To: CC: , , , Richard Fitzgerald Subject: [PATCH v2 0/4] ASoC: cs42l42: Remove redundant code Date: Tue, 16 Nov 2021 16:38:57 +0000 Message-ID: <20211116163901.45390-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: 2VLeUxBwq61BfiO-W2j5z9eEZzE9-mJD X-Proofpoint-GUID: 2VLeUxBwq61BfiO-W2j5z9eEZzE9-mJD X-Proofpoint-Spam-Reason: safe Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Remove field writes in regmap_update_bits() calls where the code intends that the field value is not changed. - Remove unnecessary complexity from reporting jack unplug event - Remove a PLL config value member that was introduced in a bugfix but made redundant by a later bugfix. Richard Fitzgerald (4): ASoC: cs42l42: Remove redundant writes to DETECT_MODE ASoC: cs42l42: Remove redundant writes to RS_PLUG/RS_UNPLUG masks ASoC: cs42l42: Simplify reporting of jack unplug ASoC: cs42l42: Remove redundant pll_divout member sound/soc/codecs/cs42l42.c | 42 +++++++----------------------------------- sound/soc/codecs/cs42l42.h | 1 - 2 files changed, 7 insertions(+), 36 deletions(-) -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D529C433EF for ; Tue, 16 Nov 2021 16:40:06 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E3D1361547 for ; Tue, 16 Nov 2021 16:40:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E3D1361547 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=opensource.cirrus.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B3B961721; Tue, 16 Nov 2021 17:39:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B3B961721 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1637080802; bh=eyvU1La7rU7h064EKucefMzgBNXdEOy+VDfwD9s0ze8=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=eZDyJf0whTf7E9qQ8fYI15wNQE8O9aM8REvir1Qn2FZXtbXsBNNi8W6K8K8h9OD2w MEbuzQf1a1ZMyz8g2N7GMEGhX1MkBZvTUXBo8cUbi7E7gyujbnqIYJC2EXyJtz6v5G v9NZrJX2ci8RXEYTH+6j1mOEO2cyVqmOPfgyObFc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D0912F80272; Tue, 16 Nov 2021 17:39:11 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 49732F80272; Tue, 16 Nov 2021 17:39:10 +0100 (CET) Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 84DF8F80134 for ; Tue, 16 Nov 2021 17:39:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 84DF8F80134 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="D9tMtazs" Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AG7FClY005416; Tue, 16 Nov 2021 10:39:06 -0600 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=ODxpdqxltOMoYVFmvaxZez5QOWprLDG9j92jnhb+qXc=; b=D9tMtazs3USlI5Z+VkvpPmwy4u6n82jUDKMxQCgMDADWtMwyDlndGPTRrj7NkMucdRvQ PiFOSIzi4P4/nMjAr2f8X4UUU4gRayUJ6dnxJi02Li7KjkmUPQ8MrvYnHMfEI3CDY5Gf smPYSqPf9wrJKGz7V0KReTmck23nZURj9UBv3XlLp6v3nBkiu9YBRn+LCxlNvtCC6Kxc gldqf+cLZ7xjW4UEK5s59jlCNZl0sTRNIbaj3AlmUnmAM7nwYM+wQ1iBvGpvtzsF1nww OthxyOwNztBC9nLABlEGvcJJgooncdzuLjBVOIHa+8E9gm3EnhJh2/xq5Au0jowLJcjt 7Q== Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3cbdjgt3vp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 16 Nov 2021 10:39:05 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 16 Nov 2021 16:39:04 +0000 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.1.2375.17 via Frontend Transport; Tue, 16 Nov 2021 16:39:04 +0000 Received: from AUSNPC0LSNW1-debian.cirrus.com (AUSNPC0LSNW1.ad.cirrus.com [198.61.65.41]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 6789111DC; Tue, 16 Nov 2021 16:39:03 +0000 (UTC) From: Richard Fitzgerald To: Subject: [PATCH v2 0/4] ASoC: cs42l42: Remove redundant code Date: Tue, 16 Nov 2021 16:38:57 +0000 Message-ID: <20211116163901.45390-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: 2VLeUxBwq61BfiO-W2j5z9eEZzE9-mJD X-Proofpoint-GUID: 2VLeUxBwq61BfiO-W2j5z9eEZzE9-mJD X-Proofpoint-Spam-Reason: safe Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, Richard Fitzgerald , linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" - Remove field writes in regmap_update_bits() calls where the code intends that the field value is not changed. - Remove unnecessary complexity from reporting jack unplug event - Remove a PLL config value member that was introduced in a bugfix but made redundant by a later bugfix. Richard Fitzgerald (4): ASoC: cs42l42: Remove redundant writes to DETECT_MODE ASoC: cs42l42: Remove redundant writes to RS_PLUG/RS_UNPLUG masks ASoC: cs42l42: Simplify reporting of jack unplug ASoC: cs42l42: Remove redundant pll_divout member sound/soc/codecs/cs42l42.c | 42 +++++++----------------------------------- sound/soc/codecs/cs42l42.h | 1 - 2 files changed, 7 insertions(+), 36 deletions(-) -- 2.11.0