From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EBB6F1F130E; Tue, 3 Dec 2024 15:05:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733238344; cv=none; b=a9igvW9usy7JgfrkEE7jXWXt/g72OOYau8ERuudF9S/dFa4WpUStL3rgiedIL6GiQLMDMXEVMHFeiVXKKD9LRWIfu2iF74bzinhO/HeWDDLfJg/cHIx1YYUHGw4591hdTIB+RD6Fq4UViy3tLteXEdvGA7f+6nPdbdBkwvUqqXM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733238344; c=relaxed/simple; bh=OyqK2+Rwt4B6ooT6PNFqHXDNWALC9h8c+6FtS2zSP/k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NqtGtNUeXo5Euvi9TGEeRmzL90pQ7Cp8SMjuNWNHzKkuPJ+eXILUhg/S+NKqjZ82DIDx9pJ2nOYvnrcy+MXXgkEEQpuALeUHfiwri1TtXMLHtRrUwLeW19I20nZqq52uryBctCwvwf88TDrmVnFTBaLlAgvCvfEx+6P+HNLY9Ic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o0TxHsaC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="o0TxHsaC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 760DAC4CECF; Tue, 3 Dec 2024 15:05:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733238343; bh=OyqK2+Rwt4B6ooT6PNFqHXDNWALC9h8c+6FtS2zSP/k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o0TxHsaCMBaH6YG2ic9kQamtTiLO4waowOSyEzUEXqhXvjaTOSFt1Hpt6OTDlOhUm Iy269ckUN/V1y4mkgM3nLyAwZASmf1KVtj+CrTz20WEHugXJPmkoovVwBZo4qRwM1a z5YvPXM/b5F2QIt1nK0juYhOuy1atS6RZl9Qs8Fw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Shengjiu Wang , Daniel Baluta , Mark Brown , Sasha Levin Subject: [PATCH 6.11 247/817] ASoC: fsl_micfil: fix regmap_write_bits usage Date: Tue, 3 Dec 2024 15:36:59 +0100 Message-ID: <20241203144005.410786621@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241203143955.605130076@linuxfoundation.org> References: <20241203143955.605130076@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.11-stable review patch. If anyone has any objections, please let me know. ------------------ From: Shengjiu Wang [ Upstream commit 06df673d20230afb0e383e39235a4fa8b9a62464 ] The last parameter 1 means BIT(0), which should be the correct BIT(X). Fixes: 47a70e6fc9a8 ("ASoC: Add MICFIL SoC Digital Audio Interface driver.") Signed-off-by: Shengjiu Wang Reviewed-by: Daniel Baluta Link: https://patch.msgid.link/1727424031-19551-2-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/fsl/fsl_micfil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c index 1ecfa1184adac..8cda36e0ae4d4 100644 --- a/sound/soc/fsl/fsl_micfil.c +++ b/sound/soc/fsl/fsl_micfil.c @@ -1061,7 +1061,7 @@ static irqreturn_t micfil_isr(int irq, void *devid) regmap_write_bits(micfil->regmap, REG_MICFIL_STAT, MICFIL_STAT_CHXF(i), - 1); + MICFIL_STAT_CHXF(i)); } for (i = 0; i < MICFIL_FIFO_NUM; i++) { @@ -1096,7 +1096,7 @@ static irqreturn_t micfil_err_isr(int irq, void *devid) if (stat_reg & MICFIL_STAT_LOWFREQF) { dev_dbg(&pdev->dev, "isr: ipg_clk_app is too low\n"); regmap_write_bits(micfil->regmap, REG_MICFIL_STAT, - MICFIL_STAT_LOWFREQF, 1); + MICFIL_STAT_LOWFREQF, MICFIL_STAT_LOWFREQF); } return IRQ_HANDLED; -- 2.43.0