mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
ASoC: fsl_micfil: fix regmap_write_bits usage
[ Upstream commit 06df673d20230afb0e383e39235a4fa8b9a62464 ]
The last parameter 1 means BIT(0), which should be the
correct BIT(X).
Fixes: 47a70e6fc9 ("ASoC: Add MICFIL SoC Digital Audio Interface driver.")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://patch.msgid.link/1727424031-19551-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
53507b7c63
commit
537f327629
@@ -1051,7 +1051,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++) {
|
||||
@@ -1086,7 +1086,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;
|
||||
|
||||
Reference in New Issue
Block a user